Permalink
Browse files

Don't treat undefined symlinks as equivalent

This makes bundles work when in places other than node_modules initially.

CC: @stagas
  • Loading branch information...
1 parent d0560cd commit 4e606449af2b2cd9d4cac208784159d16958da43 @isaacs isaacs committed Sep 10, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 fstream-npm.js
View
@@ -136,6 +136,7 @@ Packer.prototype.applyIgnores = function (entry, partial, entryObj) {
// if this entry has already been bundled, and is a symlink,
// and it is the *same* symlink as this one, then exclude it.
if (pp && pp.bundleLinks && this.bundleLinks &&
+ pp.bundleLinks[entry] &&
pp.bundleLinks[entry] === this.bundleLinks[entry]) {
return false
}

0 comments on commit 4e60644

Please sign in to comment.