Skip to content

Commit acc64f9

Browse files
mattemalexeagle
authored andcommitted
fix: use execSync to call npm
1 parent b7a2aad commit acc64f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/update-esbuild-versions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ async function main() {
8383

8484
// update package.json used for API wrapper
8585
replaceFileContent('toolchains/esbuild/package.json', [[/"esbuild": "(.+?)"/, version]]);
86-
exec(`npm i --package-lock-only`, {silent: true, cwd: 'toolchains/esbuild'});
86+
execSync(`npm i --package-lock-only`, {silent: true, cwd: 'toolchains/esbuild'});
8787
}
8888

8989
main();

0 commit comments

Comments
 (0)