From e0526eeb83f9820f92214a1271f111368366d8c3 Mon Sep 17 00:00:00 2001 From: Khalid Adil Date: Fri, 12 Oct 2018 09:20:38 -0700 Subject: [PATCH] repl: remove unused variable e from try catch --- lib/repl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();