Skip to content

Commit 3bd5471

Browse files
committed
fix deprecation...?
1 parent 6e96e99 commit 3bd5471

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ async function getMeasurements(instrumentFile) {
99
args.unshift('--import', instrumentFile);
1010
}
1111

12-
log(`Getting arguments for instrumentFile=${instrumentFile}`);
12+
const cmd = `node ${args.join(' ')}`;
1313

14-
const appProcess = spawn('node', args, { shell: 'bash' });
14+
log(`Getting measurements for "${cmd}"`);
15+
16+
const appProcess = spawn(cmd, { shell: 'bash' });
1517

1618
await new Promise(resolve => {
1719
appProcess.stdout.on('data', data => {

0 commit comments

Comments
 (0)