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

feat: allow cancelling yarn version with ctrl-c or empty version number #7064

Merged
merged 3 commits into from
Feb 28, 2019

Conversation

ollelauribostrom
Copy link
Contributor

Summary
As proposed in #7050. This allows cancelling yarn version with ctrl-c or empty version number.

Test plan
Run yarn version
Press Ctrl-C without entering a new version number
Yarn exits (no longer with an error message)

Run: yarn version
Press enter without entering a new version number
Yarn exits (no longer saying error Invalid semver version)

info Current version: 1.15.0-0
Done in 0.06s. with ctrl-c or empty version number
@ollelauribostrom ollelauribostrom changed the title feat: allow cancelling yarn version v1.12.3 feat: allow cancelling yarn version with ctrl-c or empty version number Feb 25, 2019
@arcanis arcanis merged commit 595006a into yarnpkg:master Feb 28, 2019
@arcanis
Copy link
Member

arcanis commented Feb 28, 2019

Thanks 👍

@lavaldi
Copy link

lavaldi commented Oct 6, 2019

this closes #7050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants