Skip to content

Commit

Permalink
[fix] still accessed property before checking it with in
Browse files Browse the repository at this point in the history
  • Loading branch information
fb55 committed Sep 7, 2012
1 parent e1aa6b0 commit f08e5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/require-analyzer.js
Expand Up @@ -796,7 +796,7 @@ function mergeDependencies(err, deps, pkgDeps, devDeps, bndlDeps, callback) {
});

Object.keys(pkgDeps).forEach(function (d) {
if ( !(d in merged[d]) ) {
if ( !(d in merged) ) {
merged[d] = pkgDeps[d];
}
});
Expand Down

0 comments on commit f08e5fc

Please sign in to comment.