Merge pull request #16246 from Snuffleupagus/dist-install-force

Force-install when using `gulp dist-install` (issue 15435)
This commit is contained in:
Tim van der Meij 2023-04-10 15:40:09 +02:00 committed by GitHub
commit 20f79f870e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2348,7 +2348,7 @@ gulp.task(
opts.cwd = installPath;
distPath = path.relative(installPath, distPath);
}
safeSpawnSync("npm", ["install", distPath], opts);
safeSpawnSync("npm", ["install", "--force", distPath], opts);
done();
})
);