diff options
author | James Halliday <mail@substack.net> | 2012-06-19 09:57:27 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-06-19 20:39:11 +0400 |
commit | 9f9d4a548739e68908a5af984657c180c1208ea0 (patch) | |
tree | 3872882a84ad1466f99a9ef777dc2ba62493de75 /.gitignore | |
parent | 16304e0f955899f53b002a72e7b53f2632bd3be7 (diff) |
Fix #2538 Properly ignore false ancestors
When running `npm install` in a package, if one of the deps depends on
the root package, it might not be require()-able (if the folder name
doens't match, and/or if it's not in a node_modules folder).
This makes that work.
Originally by @SubStack, edited slightly by @isaacs.
* failing test for pkg.name that can't be required
* fix the false_name test by altering data.name when it's not in a
requirable location
* set data.name to null for unrequirable packages, less hackishly
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions