Skip to content

Commit

Permalink
repl: remove unused variable e from try catch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
khalidadil authored and MylesBorins committed Oct 30, 2018
1 parent 31a9660 commit 18060f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,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();
Expand Down

0 comments on commit 18060f2

Please sign in to comment.