mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02: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:
parent
0d725d6fa0
commit
ff14b24e12
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue