Skip to content

Commit

Permalink
Update package.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Nov 21, 2024
1 parent 83b878c commit 16d5e3c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ const install = async () => {
}
exists = await access(node_modules);
if (!exists) {
await exec('npm install');
await exec('npm install --disable-warning=ExperimentalWarning');
}
try {
await exec('python --version', 'utf-8');
Expand Down Expand Up @@ -529,7 +529,7 @@ const update = async () => {
for (const name of Object.keys(dependencies)) {
writeLine(name);
/* eslint-disable no-await-in-loop */
await exec(`npm install --quiet --no-progress --silent --save-exact ${name}@latest`);
await exec(`npm install --quiet --no-progress --silent --save-exact --disable-warning=ExperimentalWarning ${name}@latest`);
/* eslint-enable no-await-in-loop */
}
await install();
Expand Down Expand Up @@ -589,11 +589,11 @@ const forge = async() => {
const command = read();
switch (command) {
case 'install': {
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected]');
await exec('npm install @electron-forge/[email protected] --disable-warning=ExperimentalWarning');
await exec('npm install @electron-forge/[email protected] --disable-warning=ExperimentalWarning');
await exec('npm install @electron-forge/[email protected] --disable-warning=ExperimentalWarning');
await exec('npm install @electron-forge/[email protected] --disable-warning=ExperimentalWarning');
await exec('npm install @electron-forge/[email protected] --disable-warning=ExperimentalWarning');
break;
}
case 'update': {
Expand Down

0 comments on commit 16d5e3c

Please sign in to comment.