We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ecfc7c commit 1f3cb63Copy full SHA for 1f3cb63
lib/internal/bootstrap/node.js
@@ -685,7 +685,7 @@
685
function tryGetCwd(path) {
686
try {
687
return process.cwd();
688
- } catch (ex) {
+ } catch {
689
// getcwd(3) can fail if the current working directory has been deleted.
690
// Fall back to the directory name of the (absolute) executable path.
691
// It's not really correct but what are the alternatives?
0 commit comments