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
Rafael Gonzaga 2023-06-17 14:28:38 -03:00 committed by GitHub
parent 0d725d6fa0
commit ff14b24e12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}