mirror of
https://github.com/zebrajr/node.git
synced 2025-12-06 12:20:27 +01:00
PR-URL: https://github.com/nodejs/node/pull/59964 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
10 lines
255 B
JavaScript
10 lines
255 B
JavaScript
'use strict';
|
|
const common = require('../common');
|
|
const { startNewREPLServer } = require('../common/repl');
|
|
|
|
const { replServer } = startNewREPLServer();
|
|
|
|
replServer.setupHistory('/nonexistent/file', common.mustSucceed(() => {
|
|
replServer.close();
|
|
}));
|