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

[Bug] Yarn 2 doesn't recognize yarn init -y #545

Closed
segrey opened this issue Oct 22, 2019 · 1 comment
Closed

[Bug] Yarn 2 doesn't recognize yarn init -y #545

segrey opened this issue Oct 22, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@segrey
Copy link
Contributor

segrey commented Oct 22, 2019

Describe the bug

yarn init -y doesn't work in Yarn 2 (it works as expected in Yarn 1.19.1).

To Reproduce

  1. yarn set version from sources
  2. yarn --version outputs 2.0.0-rc.10
  3. yarn init -y finishes with exit code 1 and outputs
Unknown Syntax Error: Unsupported option name ("-y").

$ yarn init [-p,--private]

Environment if relevant (please complete the following information):

  • OS: Linux
  • Node version 12.9.0
  • Yarn version 2.0.0-rc.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants