Skip to content

Commit 0938e02

Browse files
committed
use exit instead of close??
1 parent 25f6f24 commit 0938e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function startAppProcess(cmd) {
4545
rejectAppClose = reject;
4646
});
4747

48-
appProcess.on('close', code => {
48+
appProcess.on('exit', code => {
4949
if (code && code !== 0) {
5050
rejectAppClose(new Error(`App process exited with code ${code}`));
5151
} else {

0 commit comments

Comments
 (0)