diff --git a/lib/repl.js b/lib/repl.js index 831d1519f563aa..d71f636cd64dc8 100644 --- a/lib/repl.js +++ b/lib/repl.js @@ -1485,7 +1485,7 @@ function defineDefaultCommands(repl) { this.outputStream.write('Failed to load: ' + file + ' is not a valid file\n'); } - } catch (e) { + } catch { this.outputStream.write('Failed to load: ' + file + '\n'); } this.displayPrompt();