Skip to content

Commit

Permalink
Ignore scripts on npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JezerM committed Jul 14, 2024
1 parent 0ad72a7 commit d4f0fb2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ async function create_build() {
console.log("Resources copied");

try {
console.log("Installing packages with 'npm ci --production -s'");
childProcess.execSync("npm ci --production -s", {
console.log(
"Installing packages with 'npm ci --production -s --ignore-scripts'"
);
childProcess.execSync("npm ci --production -s --ignore-scripts", {
cwd: "./build/nody-asar",
encoding: "utf-8",
stdio: "inherit",
Expand Down

0 comments on commit d4f0fb2

Please sign in to comment.