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

mistyping command executes yarn install #1002

Closed
jdalton opened this issue Oct 13, 2016 · 3 comments
Closed

mistyping command executes yarn install #1002

jdalton opened this issue Oct 13, 2016 · 3 comments

Comments

@jdalton
Copy link
Contributor

jdalton commented Oct 13, 2016

Yarn v0.15.1

I keep accidentally typing yarn -v instead of yarn -V and then yarn treats it as yarn and goes through its install hoops. It'd be nice if it warned me of the invalid command and full-stopped.

@STRML
Copy link
Contributor

STRML commented Oct 13, 2016

This may require forking commander: tj/commander.js#482

@wyze
Copy link
Member

wyze commented Oct 13, 2016

The fix landed in #777, but a release hasn't been cut since then.

@Daniel15
Copy link
Member

I'm going to close this as it's fixed by #777 like @wyze mentioned. Thank you for trying Yarn and reporting this issue! 😄

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

No branches or pull requests

5 participants