We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process.stdin.unref
setupHistory
1 parent 425b7db commit f5a038bCopy full SHA for f5a038b
test/parallel/test-repl-no-terminal.js
@@ -3,6 +3,5 @@ const common = require('../common');
3
4
const repl = require('repl');
5
const r = repl.start({ terminal: false });
6
-r.setupHistory('/nonexistent/file', common.mustSucceed(() => {
7
- process.stdin.unref?.();
8
-}));
+r.setupHistory('/nonexistent/file', common.mustSucceed());
+process.stdin.unref?.();
0 commit comments