Skip to content

Commit

Permalink
Minor tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Aug 19, 2019
1 parent 7cddd55 commit 771ffab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init/npm-utils.js
Expand Up @@ -126,7 +126,7 @@ function check(packages, opt) {
});

return packages.reduce((status, pkg) => {
status[pkg] = deps.indexOf(pkg) !== -1;
status[pkg] = deps.includes(pkg);
return status;
}, {});
}
Expand Down

0 comments on commit 771ffab

Please sign in to comment.