diff options
Diffstat (limited to 'node_modules/undici/lib/dispatcher/agent.js')
| -rw-r--r-- | node_modules/undici/lib/dispatcher/agent.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/node_modules/undici/lib/dispatcher/agent.js b/node_modules/undici/lib/dispatcher/agent.js index db2f817..90b46fe 100644 --- a/node_modules/undici/lib/dispatcher/agent.js +++ b/node_modules/undici/lib/dispatcher/agent.js @@ -24,7 +24,6 @@ function defaultFactory (origin, opts) { class Agent extends DispatcherBase { constructor ({ factory = defaultFactory, maxRedirections = 0, connect, ...options } = {}) { - if (typeof factory !== 'function') { throw new InvalidArgumentError('factory must be a function.') } |
