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):
Additional context
Just adding a reproduction repository for this issue
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
Most helpful comment
Fixed in https://github.com/yarnpkg/berry/pull/2255, you can test it by running
yarn set version from sourcesor downloading the bundle from the CI