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 empty scripts #2174

Closed
wants to merge 1 commit into from
Closed

fix empty scripts #2174

wants to merge 1 commit into from

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Nov 13, 2020

this restores the npm6 behavior where npm run somescript where the script is defined as an empty string simply does nothing, rather than throwing an error that the script does not exist

References

Fixes #2171

@nlf nlf requested a review from a team as a code owner November 13, 2020 22:17
@darcyclarke darcyclarke added Release 7.x work is associated with a specific npm 7 release release: next These items should be addressed in the next release labels Nov 16, 2020
Copy link

@Robodog63 Robodog63 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google Nest videos

@nlf nlf deleted the nlf/fix-empty-scripts branch March 28, 2022 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: next These items should be addressed in the next release Release 7.x work is associated with a specific npm 7 release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPM 7 fails with an empty script.
4 participants