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

Feature Request: allow cancelling yarn version with ctrl-c or empty version number #7050

Closed
kryten87 opened this issue Feb 20, 2019 · 3 comments

Comments

@kryten87
Copy link

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 the yarn-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.

@ollelauribostrom
Copy link
Contributor

I'd love to give this a shot 🙂

@SidneyNemzer
Copy link

Since #7064 was merged, I think this can be closed? :)

@lavaldi
Copy link

lavaldi commented Oct 6, 2019

cc @rally25rs

@kryten87 kryten87 closed this as completed Oct 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants