mirror of
https://github.com/electron/electron.git
synced 2026-01-06 22:24:03 -05:00
fix allow native module builds in spec workspace
This commit is contained in:
@@ -419,7 +419,7 @@ async function installSpecModules (dir) {
|
||||
if (fs.existsSync(path.resolve(dir, 'node_modules'))) {
|
||||
await fs.promises.rm(path.resolve(dir, 'node_modules'), { force: true, recursive: true });
|
||||
}
|
||||
const yarnArgs = [YARN_SCRIPT_PATH, 'install', '--immutable'];
|
||||
const yarnArgs = [YARN_SCRIPT_PATH, 'install'];
|
||||
const { status } = childProcess.spawnSync(process.execPath, yarnArgs, {
|
||||
env,
|
||||
cwd: dir,
|
||||
|
||||
Reference in New Issue
Block a user