Skip to content

Commit 7553bd1

Browse files
committed
use shell:true
1 parent 3bd5471 commit 7553bd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev-packages/node-overhead-gh-action/lib/getOverheadMeasurements.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function getMeasurements(instrumentFile) {
1313

1414
log(`Getting measurements for "${cmd}"`);
1515

16-
const appProcess = spawn(cmd, { shell: 'bash' });
16+
const appProcess = spawn(cmd, { shell: true });
1717

1818
await new Promise(resolve => {
1919
appProcess.stdout.on('data', data => {
@@ -24,7 +24,7 @@ async function getMeasurements(instrumentFile) {
2424
});
2525

2626
const autocannon = spawn('yarn test', {
27-
shell: 'bash',
27+
shell: true,
2828
});
2929

3030
let lastJson = undefined;

0 commit comments

Comments
 (0)