Open
Description
I have a script that combines multiple steps, like a git commit
, npm version
, git push
, git push --tags
, and jitsu deploy
, all into one command. Because I'm attempting to streamline things, I put a -c
on the jitsu deploy to skip the package.json write warning. I noticed today that this -c essentially answers yes to the prompt: Continue without updating? Bad things might happen (no):, which is probably not a good idea.
In this case I think it's ok to ignore the -c flag and require user input, or probably more appropriately, exit(1)
with a message that -c won't bypass a new version. If it's important for people to be able to ignore new versions, I'd recommend the addition of a new flag for that purpose (perhaps -cv
).