Skip to content

Commit f5a038b

Browse files
Revert "move process.stdin.unref call inside setupHistory callback"
This reverts commit e388d3b. Note: it didn't really solve the CI issue unfortunately
1 parent 425b7db commit f5a038b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/parallel/test-repl-no-terminal.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ const common = require('../common');
33

44
const repl = require('repl');
55
const r = repl.start({ terminal: false });
6-
r.setupHistory('/nonexistent/file', common.mustSucceed(() => {
7-
process.stdin.unref?.();
8-
}));
6+
r.setupHistory('/nonexistent/file', common.mustSucceed());
7+
process.stdin.unref?.();

0 commit comments

Comments
 (0)