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 a8a042a commit f14c96fCopy full SHA for f14c96f
lib/internal/bootstrap_node.js
@@ -374,6 +374,9 @@
374
threw = false;
375
} finally {
376
if (threw) {
377
+ process.emitWarning('The current working directory was inaccessible.' +
378
+ '\nFalling back to the executable\'s directory.',
379
+ 'BootstrapInaccessibleCwdWarning');
380
// getcwd(3) can fail if the current working directory has been deleted.
381
// Fall back to the directory name of the (absolute) executable path.
382
// It's not really correct but what are the alternatives?
0 commit comments