Skip to content

Commit

Permalink
lib: fix output message when repl is used with pm
Browse files Browse the repository at this point in the history
PR-URL: nodejs#48438
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
RafaelGSS committed Jun 17, 2023
1 parent 0d725d6 commit ff14b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/repl/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit ff14b24

Please sign in to comment.