Skip to content

Commit 6e37e40

Browse files
cjihriglpinca
andauthored
Update test/parallel/test-child-process-bad-stdio.js
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
1 parent cf4c2b8 commit 6e37e40

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/parallel/test-child-process-bad-stdio.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ const common = require('../common');
55
if (process.argv[2] === 'timeout') {
66
setTimeout(() => {}, common.platformTimeout(100));
77
return;
8-
} else if (process.argv[2] === 'interval') {
8+
}
9+
10+
if (process.argv[2] === 'interval') {
911
setInterval(() => {}, 10_000);
1012
return;
1113
}

0 commit comments

Comments
 (0)