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 <luigipinca@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
RafaelGSS authored and Ceres6 committed Aug 14, 2023
1 parent 7d7324d commit 3de520e
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 3de520e

Please sign in to comment.