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: #48438
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
RafaelGSS committed Jul 3, 2023
1 parent e2d579e commit fe16749
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 fe16749

Please sign in to comment.