mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user