Proper handling when pkg.main points to a directory. #27

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants
Contributor

jaredhanson commented Jul 29, 2013

This is a fix for #22, in which a package has a dependency, and that dependency has a pkg.main property that points to a directory rather than a file.

This includes the same one-line fix as #24, and also includes a test case (which would fail without the fix).

See also: shtylman/node-browser-resolve#27

kumavis commented Aug 3, 2013

+1

Owner

substack commented Aug 3, 2013

Thanks for the patch! Merged in 0.4.2.

substack closed this Aug 3, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment