Skip to content

Commit dfc45d9

Browse files
committed
disable NodeJS ExperimentalWarning on npm install
npm/cli#7857
1 parent b72ae49 commit dfc45d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/zxi.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const DIR = dirname(FILE);
1515
$.verbose = true;
1616

1717
if (await pathExists(`${ DIR }/package.json`)) {
18-
await $({ cwd: DIR })`npm install \
18+
await $({ cwd: DIR })`NODE_NO_WARNINGS=1 npm install \
1919
--no-audit \
2020
--no-fund \
2121
--lockfile-version=3 \

0 commit comments

Comments
 (0)