Skip to content

Commit 4ed1fba

Browse files
khalidadiljasnell
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 1c36943 commit 4ed1fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/repl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1485,7 +1485,7 @@ function defineDefaultCommands(repl) {
14851485
this.outputStream.write('Failed to load: ' + file +
14861486
' is not a valid file\n');
14871487
}
1488-
} catch (e) {
1488+
} catch {
14891489
this.outputStream.write('Failed to load: ' + file + '\n');
14901490
}
14911491
this.displayPrompt();

0 commit comments

Comments
 (0)