Skip to content

Commit

Permalink
Don't audit packages when installing (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored and DeviaVir committed Sep 30, 2019
1 parent 6e5bbcb commit af0d41e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -364,14 +364,15 @@ so you can easily test run multiple events.
dockerVolumesOptions = dockerVolumesOptions.concat(['-v', volume])
})

const dockerCommand = [program.dockerImage, 'npm', '-s', installCommand, '--production']
const dockerCommand = [program.dockerImage, 'npm', '-s', installCommand, '--production', '--no-audit']

const dockerOptions = dockerBaseOptions.concat(dockerVolumesOptions).concat(dockerCommand)

const npmInstallBaseOptions = [
'-s',
installCommand,
'--production',
'--no-audit',
'--prefix', codeDirectory
]

Expand Down

0 comments on commit af0d41e

Please sign in to comment.