diff --git a/lib/internal/repl/history.js b/lib/internal/repl/history.js index 49efcd1ef1f9e9..d8c36170639fc9 100644 --- a/lib/internal/repl/history.js +++ b/lib/internal/repl/history.js @@ -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); }