mirror of https://github.com/nodejs/node.git
lib: fix output message when repl is used with pm
PR-URL: https://github.com/nodejs/node/pull/48438 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>pull/48483/head
parent
0d725d6fa0
commit
ff14b24e12
|
@ -55,7 +55,7 @@ function setupHistory(repl, historyPath, ready) {
|
|||
}
|
||||
|
||||
if (permission.isEnabled() && permission.has('fs.write', historyPath) === false) {
|
||||
_writeToOutput(repl, '\nAccess to FileSystemOut is restricted.\n' +
|
||||
_writeToOutput(repl, '\nAccess to FileSystemWrite is restricted.\n' +
|
||||
'REPL session history will not be persisted.\n');
|
||||
return ready(null, repl);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue