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