diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-21 07:49:34 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-21 07:49:34 +0200 |
| commit | 3421d2ed73f43159e8fa04943e13ca9c0f0404d3 (patch) | |
| tree | 5302ee9ac0ea902e85ec8f600b4f58984576e02b /node_modules/undici/lib/dispatcher/agent.js | |
| parent | Merge pull request #10 from egor-tensin/dependabot/github_actions/actions/che... (diff) | |
| download | cleanup-path-3421d2ed73f43159e8fa04943e13ca9c0f0404d3.tar.gz cleanup-path-3421d2ed73f43159e8fa04943e13ca9c0f0404d3.zip | |
bump dependencies
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.') } |
