Unverified Commit 50f963f7 authored by Zack Tanner's avatar Zack Tanner Committed by GitHub

remove --force from install-native postinstall (#53320)

This was leftover from when we were using yarn but `--force` has different behavior in pnpm (it will install all optionalDependencies regardless of the current environment), which was causing tests to slowdown
parent 39063747
......@@ -57,7 +57,7 @@ import fs from 'fs-extra'
JSON.stringify(pkgJson)
)
await fs.writeFile(path.join(tmpdir, '.npmrc'), 'node-linker=hoisted')
let { stdout } = await execa('pnpm', ['install', '--force'], {
let { stdout } = await execa('pnpm', ['install'], {
cwd: tmpdir,
})
console.log(stdout)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment