Skip to content

Commit

Permalink
fix(pnpm): do not prefer local, it could be tainted (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg authored Jan 27, 2024
1 parent db1b895 commit adfb3c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ export async function applyPackageOverrides(

// use of `ni` command here could cause lockfile violation errors so fall back to native commands that avoid these
if (pm === 'pnpm') {
await $`pnpm install --prefer-frozen-lockfile --prefer-offline --strict-peer-dependencies false`
await $`pnpm install --prefer-frozen-lockfile --strict-peer-dependencies false`
} else if (pm === 'yarn') {
await $`yarn install`
} else if (pm === 'npm') {
Expand Down

0 comments on commit adfb3c7

Please sign in to comment.