Skip to content

fix: set proxy from env vars based on truthiness#67

Merged
lukekarrys merged 1 commit into
mainfrom
lk/proxy-env
Oct 2, 2023
Merged

fix: set proxy from env vars based on truthiness#67
lukekarrys merged 1 commit into
mainfrom
lk/proxy-env

Conversation

@lukekarrys

Copy link
Copy Markdown
Contributor

This matches the behavior of previous versions of
the npm agent. We can't use default parameters since
those will only evaluate if 'undefined' is passed in.

Fixes npm/cli#6835

This matches the behavior of previous versions of
the npm agent. We can't use default parameters since
those will only evaluate if 'undefined' is passed in.

Fixes npm/cli#6835
@lukekarrys lukekarrys requested a review from a team as a code owner September 30, 2023 01:43
@lukekarrys

Copy link
Copy Markdown
Contributor Author

Merging with failing CI which is due to #68

@lukekarrys lukekarrys merged commit 4d4b70c into main Oct 2, 2023
@lukekarrys lukekarrys deleted the lk/proxy-env branch October 2, 2023 15:32
@github-actions github-actions Bot mentioned this pull request Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] NPM 10 ignores proxy configuration via environment variables

2 participants