We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
path
1 parent 1fe39f0 commit 4692e28Copy full SHA for 4692e28
lib/internal/bootstrap/pre_execution.js
@@ -98,7 +98,9 @@ function patchProcessObject(expandArgv1) {
98
if (expandArgv1 && process.argv[1] && !process.argv[1].startsWith('-')) {
99
// Expand process.argv[1] into a full path.
100
const path = require('path');
101
- process.argv[1] = path.resolve(process.argv[1]);
+ try {
102
+ process.argv[1] = path.resolve(process.argv[1]);
103
+ } catch {}
104
}
105
106
// TODO(joyeecheung): most of these should be deprecated and removed,
0 commit comments