-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overrides the location where node-gyp will look for (and download to) the node.js SDK. For harmonization with the --nodedir flag, `osenv.home()` is now used instead of `process.env.HOME || process.env.USERPROFILE`. `osenv.home()` defaults to the built-in `os.homedir()` when available and falls back to sane defaults based on the platform. `%USERPROFILE%` is now preferred on Windows and `%HOME%` is ignored; similarly, UNIX systems ignore `$USERPROFILE` from now on. Neither behavior made much sense, IMO. Fixes: #21 PR-URL: #916 Reviewed-By: Rod Vagg <[email protected]>
- Loading branch information
1 parent
f6eab1f
commit 9c8d275
Showing
3 changed files
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters