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 ae39e1a commit a185536Copy full SHA for a185536
1 file changed
lib/node-gyp.js
@@ -41,7 +41,7 @@ function Gyp () {
41
// set the dir where node-gyp dev files get installed
42
// TODO: make this configurable?
43
// see: https://github.com/TooTallNate/node-gyp/issues/21
44
- var homeDir = process.env.HOME
+ var homeDir = process.env.HOME || process.env.USERPROFILE
45
this.devDir = path.resolve(homeDir, '.node-gyp')
46
47
this.commands = {}
0 commit comments