bootstrap: remove unused catch bindings

PR-URL: https://github.com/nodejs/node/pull/24079
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
pull/24079/head
cjihrig 2018-11-04 10:02:04 -05:00
parent 57c5c7d429
commit 81b335df80
No known key found for this signature in database
GPG Key ID: 7434390BDBE9B9C5
1 changed files with 1 additions and 1 deletions

View File

@ -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?