[Bug] yarn workspaces foreach
only running in a single directory, on node 15
#2475
Closed
1 task done
Labels
bug
Something isn't working
Describe the bug
yarn workspaces foreach run
is only running in a single workspace, rather than in every workspace, when run with node 15.8.0. On Node 12 and Node 14, this works correctly.To Reproduce
Install node 15.8.0 (e.g. with docker, by running
docker run -i mhart/alpine-node:15.8.0
), and run the following commands.This only logs
passed w1
, compared topassed w1 passed w2
on Node 14 and older versions.I was not able to reproduce this in Sherlock, because (as far as I can see) it does not let you choose the version of Node.
Screenshot
Note that, for whatever reason, this Docker image does not have any characters at the start of the prompt. In these screenshots, all but the last line is pasted together, and then the final line is pasted after everything has run through.
Environment if relevant (please complete the following information):
The text was updated successfully, but these errors were encountered: