Skip to content

Commit

Permalink
bootstrap: remove unused catch bindings
Browse files Browse the repository at this point in the history
PR-URL: #24079
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
  • Loading branch information
cjihrig authored and MylesBorins committed Dec 3, 2018
1 parent e2b96da commit 0600e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/bootstrap/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@
function tryGetCwd(path) {
try {
return process.cwd();
} catch (ex) {
} catch {
// getcwd(3) can fail if the current working directory has been deleted.
// Fall back to the directory name of the (absolute) executable path.
// It's not really correct but what are the alternatives?
Expand Down

0 comments on commit 0600e75

Please sign in to comment.