-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: get correct env from npm config #24664
Conversation
Thanks for taking the time to open a PR!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a test for this?
I don't know how to add this test case. Because If we add this command in unit test, then we should execute this test in sub process. |
32ecdb1
to
761cfec
Compare
I try to add a simple unit test for this. You can review again. Thanks. |
248a3b9
to
5d33f30
Compare
`npm config set VAR VAL` will inject `npm_config_var=val` environment variable. This commit will solve this issue Closes: cypress-io#24556
Hi @marktnoonan . Please review my PR and let me know if I lost something. Thanks. |
Yay a green build, @abcfy2 thanks for the PR and being patient while i got the build fixed! |
npm config set VAR VAL
will injectnpm_config_var=val
environment variable. This commit will solve this issueCloses: #24556