Feature Request: allow cancelling yarn version
with ctrl-c or empty version number
#7050
Labels
yarn version
with ctrl-c or empty version number
#7050
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Type
yarn version
Press Ctrl-C without entering a new version number
Yarn exits with the following message:
error An unexpected error occurred: "canceled".
and theyarn-error.log
file is written.OR
Type
yarn version
Press enter without entering a new version number
Yarn displays the message
error Invalid semver version
and waits for a new version.What is the expected behavior?
Sometimes I just want to check the version number without changing it.
What I think it should do is quit silently, without an error message or log.
The text was updated successfully, but these errors were encountered: