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 <[email protected]>
Reviewed-By: Wyatt Preul <[email protected]>
  • Loading branch information
cjihrig authored and targos committed Nov 6, 2018
1 parent 5ecfc7c commit 1f3cb63
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 @@ -685,7 +685,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 1f3cb63

Please sign in to comment.