Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Conversation

lukekarrys
Copy link
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
Contributor Author

Merging with failing CI which is due to #68

@lukekarrys lukekarrys merged commit 4d4b70c into main Oct 2, 2023
16 of 17 checks passed
@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