Skip to content

Commit cb83619

Browse files
Fix npm-run-parallel on mac (#2088)
Signed-off-by: Robert Autenrieth <robert.autenrieth@digitalasset.com>
1 parent 36e5df3 commit cb83619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/npm-run-parallel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SCRIPT=$1
1010
if [[ "$(uname)" == "Darwin"* ]]
1111
then
1212
# rust-parallel doesn't seem to be available for darwin in nix so we fallback to the sequential version
13-
npm run --workspace --if-present "$SCRIPT"
13+
npm run --workspaces --if-present "$SCRIPT"
1414
else
1515
npm query .workspace --json | jq -r '.[].location' | xargs -I {} sh -c "if jq -e .scripts.[\\\"$SCRIPT\\\"] {}/package.json > /dev/null; then echo {}; fi" | rust-parallel npm run "$SCRIPT" --workspace
1616
fi

0 commit comments

Comments
 (0)