Skip to content

Commit

Permalink
chore: Update execa to latest version (#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
straker authored and WilcoFiers committed Jul 4, 2019
1 parent 0f813e8 commit c64bd02
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/rule-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function run() {
`Axe does not exist. Triggering build using - 'npm run build'. Rule generation will continue after build.`
)
);
await execa.shell('npm run build');
await execa('npm run build', { shell: true });
}

// rule-generator banner
Expand Down
6 changes: 3 additions & 3 deletions doc/examples/test-examples.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ const exampleDirs = readdirSync(__dirname)
.filter(dir => statSync(dir).isDirectory());

async function runner(dir) {
const config = { cwd: dir, stdio: 'inherit' };
await execa.shell('npm install', config);
return execa.shell('npm test', config);
const config = { cwd: dir, stdio: 'inherit', shell: true };
await execa('npm install', config);
return execa('npm test', config);
}

Promise.all(exampleDirs.map(runner))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"es6-promise": "^4.2.6",
"eslint": "^5.14.0",
"eslint-config-prettier": "^6.0.0",
"execa": "^1.0.0",
"execa": "^2.0.2",
"fs-extra": "^8.0.1",
"globby": "^10.0.0",
"grunt": "^1.0.3",
Expand Down

0 comments on commit c64bd02

Please sign in to comment.