| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c4457d8 commit 335cb0d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -92,7 +92,9 @@ function patchProcessObject(expandArgv1) { | |||
| 92 | 92 | if (expandArgv1 && process.argv[1] && !process.argv[1].startsWith('-')) { | |
| 93 | 93 | // Expand process.argv[1] into a full path. | |
| 94 | 94 | const path = require('path'); | |
| 95 | - process.argv[1] = path.resolve(process.argv[1]); | ||
| 95 | + try { | ||
| 96 | + process.argv[1] = path.resolve(process.argv[1]); | ||
| 97 | + } catch {} | ||
| 96 | 98 | } | |
| 97 | 99 | ||
| 98 | 100 | // TODO(joyeecheung): most of these should be deprecated and removed, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments