Berry: [Bug] workspace-tools foreach doesn't run each workspace for node 15

Created on 5 Dec 2020  路  1Comment  路  Source: yarnpkg/berry

  • [ ] I'd be willing to implement a fix

Describe the bug

Running yarn workspaces foreach -A run script_name only runs script_name on one workspace (even with script_name defined in other workspaces).

To Reproduce

https://github.com/astahmer/yarn-2-foreach-bug

Environment if relevant (please complete the following information):

  • OS: MacOS Catalina 10.15.7
  • Node version Node 15.x
  • Yarn version 2.x

Additional context

Just adding a reproduction repository for this issue

bug

Most helpful comment

Fixed in https://github.com/yarnpkg/berry/pull/2255, you can test it by running yarn set version from sources or downloading the bundle from the CI

>All comments

Fixed in https://github.com/yarnpkg/berry/pull/2255, you can test it by running yarn set version from sources or downloading the bundle from the CI

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juanpicado picture juanpicado  路  4Comments

dzintars picture dzintars  路  3Comments

Bessonov picture Bessonov  路  4Comments

thealjey picture thealjey  路  4Comments

milichev picture milichev  路  3Comments