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(run-script): don't cascade if-present config #4678

Merged
merged 1 commit into from
Apr 5, 2022

Conversation

ruyadorno
Copy link
Contributor

Do not pass the if-present env config value to spawned processes.

References

Fixes: #3352
Close: #3589

cc @wraithgar

Do not pass the `if-present` env config value to spawned processes.

Fixes: npm#3352
Close: npm#3589
@ruyadorno ruyadorno requested a review from a team as a code owner April 4, 2022 21:58
@ruyadorno ruyadorno added semver:patch semver patch level for changes Release 8.x work is associated with a specific npm 8 release labels Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release 8.x work is associated with a specific npm 8 release semver:patch semver patch level for changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] npm run <script name> --if-present silently ignores missing scripts in subcommands
2 participants