Skip to content

Commit 3df512c

Browse files
committed
fix: fix duplicate httpProxy option setup
It looks like there was an `httpProxy` option and an `http-proxy` option but these got accidentally(?) squashed into a duplicated `httpProxy` option in https://github.com/netlify/cli/pull/5816/files#diff-6708246L106-L140.
1 parent b56095b commit 3df512c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/commands/base-command.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,6 @@ export default class BaseCommand extends Command {
190190
.addOption(new Option('--cwd <cwd>').hideHelp(true))
191191
.addOption(new Option('-o, --offline').hideHelp(true))
192192
.addOption(new Option('--auth <token>', 'Netlify auth token').hideHelp(true))
193-
.addOption(
194-
new Option('--httpProxy [address]', 'Old, prefer --http-proxy. Proxy server address to route requests through.')
195-
.default(process.env.HTTP_PROXY || process.env.HTTPS_PROXY)
196-
.hideHelp(true),
197-
)
198193
.addOption(
199194
new Option(
200195
'--httpProxyCertificateFilename [file]',

0 commit comments

Comments
 (0)