You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had previously given no thought to what to do when the $npm_lifecycle_event var isn't provided.
When no CLI args are passed, bomb out as unsupported and print usage instructions
When scripty is run like scripty test:unit assume that first arg is the lifecycle event name (is this a good idea? Might be risky to encourage people to run scripts outside the contextof all those npm environment tweaks)
The text was updated successfully, but these errors were encountered:
Decided the best thing to do for the forseeable future is to print a helpful error. Running scripty this way would be an edge case and a vector for support issues that aren't worth worrying ourselves about.
I had previously given no thought to what to do when the
$npm_lifecycle_event
var isn't provided.scripty test:unit
assume that first arg is the lifecycle event name (is this a good idea? Might be risky to encourage people to run scripts outside the contextof all those npm environment tweaks)The text was updated successfully, but these errors were encountered: