You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do you want to request a feature or report a bug?: bug
What is the current behavior?
Yarn shows the available commands (great feature btw) twice.
yarn run
yarn run v0.17.8
error No command specified.
info Commands available from binary scripts: coveralls, eslint, flow, jest, jsdoc, rollup, coveralls, eslint, flow, jest, jsdoc, rollup
info Project commands
- coveralls
- doc
- flow
- jest
- lint
- test
question Which command would you like to run?:
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
yarn run
yarn run v0.17.8
error No command specified.
info Commands available from binary scripts: coveralls, eslint, flow, jest, jsdoc, rollup
info Project commands
- coveralls
- doc
- flow
- jest
- lint
- test
question Which command would you like to run?:
Please mention your node.js, yarn and operating system version.
node 7.1.0
yarn 0.17.8
macOS 10.12.1
The text was updated successfully, but these errors were encountered:
Oh, this bug is even mentioned in the test. I think this can be a good first bug for anyone starting to contribute to yarn. Essentially, the problem arises because of the npm and yarn registry looking both in node_modules. An additional check on registry's binary paths is needed.
* Fix duplication of available bin commands (#1991)
* Fix lint errors
* Move the code out into a separate for-loop
* Revert "Move the code out into a separate for-loop"
This reverts commit a968fd0.
* Use Set instead of Array for performance reasons (#1991)
Do you want to request a feature or report a bug?: bug
What is the current behavior?
Yarn shows the available commands (great feature btw) twice.
If the current behavior is a bug, please provide the steps to reproduce.
What is the expected behavior?
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: