Skip to content
Snippets Groups Projects
Commit a80173d8 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

fix(npm): ignore scripts on full install

parent d0ec341e
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ async function generateLockFiles(lernaClient, tmpDir, env, skipInstalls) {
if (skipInstalls) {
params = '--package-lock-only --no-audit';
} else {
params = '--no-audit';
params = '--ignore-scripts --no-audit';
}
} else {
params =
......
......@@ -56,7 +56,7 @@ async function generateLockFile(tmpDir, env, filename, skipInstalls) {
if (skipInstalls) {
cmd += ' --package-lock-only --no-audit';
} else {
cmd += ' --no-audit';
cmd += ' --ignore-scripts --no-audit';
}
logger.debug(`Using npm: ${cmd}`);
// TODO: Switch to native util.promisify once using only node 8
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment