Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 18060f2

Browse filesBrowse files
khalidadilMylesBorins
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 31a9660 commit 18060f2
Copy full SHA for 18060f2

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/repl.js‎

Copy file name to clipboardExpand all lines: lib/repl.js
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.