Skip to content

Commit

Permalink
fix(core): shell script invocation should use yarn for berry (nrwl#18326
Browse files Browse the repository at this point in the history
)
  • Loading branch information
meeroslav authored Jul 26, 2023
1 parent 2b67959 commit aa557a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/utils/package-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function getPackageManagerCommand(
add: useBerry ? 'yarn add' : 'yarn add -W',
addDev: useBerry ? 'yarn add -D' : 'yarn add -D -W',
rm: 'yarn remove',
exec: useBerry ? 'yarn exec' : 'yarn',
exec: 'yarn',
run: (script: string, args: string) => `yarn ${script} ${args}`,
list: useBerry ? 'yarn info --name-only' : 'yarn list',
};
Expand Down

0 comments on commit aa557a0

Please sign in to comment.