mirror of
https://github.com/nodejs/node.git
synced 2025-05-01 08:42:45 +00:00

Fixes: https://github.com/nodejs/node/issues/36773 PR-URL: https://github.com/nodejs/node/pull/36774 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
8 lines
209 B
JavaScript
8 lines
209 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
|
|
const repl = require('repl');
|
|
const r = repl.start({ terminal: false });
|
|
r.setupHistory('/nonexistent/file', common.mustSucceed());
|
|
process.stdin.unref?.();
|