Skip to content

Commit

Permalink
fix(cli): drop --check-files flag for yarn 3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Aug 8, 2022
1 parent 06b9cbc commit a577169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@sanity/cli/src/packageManager/installPackages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function installDeclaredPackages(
output.print(`Running 'npm ${npmArgs.join(' ')}'`)
result = await execa('npm', npmArgs, execOptions)
} else if (packageManager === 'yarn') {
const yarnArgs = ['install', '--check-files']
const yarnArgs = ['install']
output.print(`Running 'yarn ${yarnArgs.join(' ')}'`)
result = await execa('yarn', yarnArgs, execOptions)
} else if (packageManager === 'pnpm') {
Expand Down

0 comments on commit a577169

Please sign in to comment.