Skip to content

Commit

Permalink
fix(core): fix broken cnw with pnpm v7 (#10175)
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed May 5, 2022
1 parent 728cd1d commit 43ac1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-nx-workspace/bin/package-manager.ts
Expand Up @@ -57,7 +57,7 @@ export function getPackageManagerCommand(
case 'pnpm':
const [major, minor] = getPackageManagerVersion('pnpm').split('.');
let useExec = false;
if (+major >= 6 && +minor >= 13) {
if ((+major >= 6 && +minor >= 13) || +major >= 7) {
useExec = true;
}
return {
Expand Down

0 comments on commit 43ac1f9

Please sign in to comment.