Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] still accessed property before checking it with `in`

  • Loading branch information...
commit f08e5fcf84fe3086943feb93baa471a00c39966c 1 parent e1aa6b0
@fb55 fb55 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/require-analyzer.js
View
2  lib/require-analyzer.js
@@ -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];
}
});
Please sign in to comment.
Something went wrong with that request. Please try again.