From ff14b24e127b4c20377430b408e2d0272d3facf0 Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Sat, 17 Jun 2023 14:28:38 -0300 Subject: [PATCH] lib: fix output message when repl is used with pm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/48438 Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen --- lib/internal/repl/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }