Stop npm from auditing a second time during better-sqlite3 installation

This commit is contained in:
Ben Gotow 2021-04-16 00:32:14 -05:00
parent 921cd536fd
commit fa46d4061d

View file

@ -139,7 +139,7 @@ async function run() {
// rebuild sqlite3 using our custom amalgamation, which has USLEEP enabled
await npm(
`install better-sqlite3@${appDependencies['better-sqlite3']} ` +
`--no-save --build-from-source --sqlite3="$(pwd)/build/sqlite-amalgamation"`,
`--no-save --no-audit --build-from-source --sqlite3="$(pwd)/build/sqlite-amalgamation"`,
{ cwd: './app', env: 'electron' }
);