Skip to content

Commit 451c160

Browse files
khalidadilrvagg
authored andcommitted
repl: remove unused variable e from try catch
PR-URL: #23449 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Beth Griggs <Bethany.Griggs@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent 21c1300 commit 451c160

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)