| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5a10fe9 commit c09eb44
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -452,10 +452,11 @@ Module.runMain = function() { | |||
| 452 | 452 | Module._initPaths = function() { | |
| 453 | 453 | const isWindows = process.platform === 'win32'; | |
| 454 | 454 | ||
| 455 | + var homeDir; | ||
| 455 | 456 | if (isWindows) { | |
| 456 | - var homeDir = process.env.USERPROFILE; | ||
| 457 | + homeDir = process.env.USERPROFILE; | ||
| 457 | 458 | } else { | |
| 458 | - var homeDir = process.env.HOME; | ||
| 459 | + homeDir = process.env.HOME; | ||
| 459 | 460 | } | |
| 460 | 461 | ||
| 461 | 462 | var paths = [path.resolve(process.execPath, '..', '..', 'lib', 'node')]; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments