Skip to content

fix empty scripts#2174

Closed
nlf wants to merge 1 commit intolatestfrom
nlf/fix-empty-scripts
Closed

fix empty scripts#2174
nlf wants to merge 1 commit intolatestfrom
nlf/fix-empty-scripts

Conversation

@nlf
Copy link
Copy Markdown
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
Copy Markdown

@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