Skip to content

Commit

Permalink
Hopefully fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MulverineX committed Apr 30, 2024
1 parent a9a5ff4 commit 4a92f7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ task('git-submodule', done => {
execSync('git submodule update --init', {
cwd: MERCURY_ROOT,
env: process.env,
stdio: 'inherit'
stdio: 'inherit',
shell
});

done();
Expand Down Expand Up @@ -151,7 +152,7 @@ task('build-darwin-mercury-lib', done => {
task('compile-polyfill', (done) => {
console.log('--- compile-polyfill ---');
if (!fs.existsSync(path.join(paths.polyfill, 'node_modules'))) {
spawnSync(NPM, [`-C ${paths.polyfill}`, 'install'], {
spawnSync(NPM, [`--dir ${paths.polyfill}`, 'install'], {
stdio: 'inherit',
shell
});
Expand Down

0 comments on commit 4a92f7b

Please sign in to comment.