Skip to content

Commit

Permalink
fix: use execSync to call npm
Browse files Browse the repository at this point in the history
  • Loading branch information
mattem authored and alexeagle committed Sep 8, 2021
1 parent b7a2aad commit acc64f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-esbuild-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async function main() {

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

main();

0 comments on commit acc64f9

Please sign in to comment.