Skip to content

Commit 18060f2

Browse files
khalidadilMylesBorins
authored andcommitted
repl: remove unused variable e from try catch
PR-URL: #23449 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
1 parent 31a9660 commit 18060f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ function defineDefaultCommands(repl) {
14821482
this.outputStream.write('Failed to load: ' + file +
14831483
' is not a valid file\n');
14841484
}
1485-
} catch (e) {
1485+
} catch {
14861486
this.outputStream.write('Failed to load: ' + file + '\n');
14871487
}
14881488
this.displayPrompt();

0 commit comments

Comments
 (0)