From fa46d4061d1ba6d34e815963df48da6e46cd4989 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Fri, 16 Apr 2021 00:32:14 -0500 Subject: [PATCH] Stop npm from auditing a second time during better-sqlite3 installation --- scripts/postinstall.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/postinstall.js b/scripts/postinstall.js index ceff2e11d..099b68b21 100644 --- a/scripts/postinstall.js +++ b/scripts/postinstall.js @@ -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' } );