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 jasnell committed Oct 17, 2018
1 parent 1c36943 commit 4ed1fba
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 @@ -1485,7 +1485,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 4ed1fba

Please sign in to comment.