Skip to content

Commit

Permalink
Fix: minor tweak
Browse files Browse the repository at this point in the history
Co-Authored-By: Kai Cataldo <7041728+kaicataldo@users.noreply.github.com>
  • Loading branch information
jamesgeorge007 and kaicataldo committed Aug 19, 2019
1 parent 4f1ac1f commit 9d1dff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init/npm-utils.js
Expand Up @@ -119,7 +119,7 @@ function check(packages, opt) {
throw error;
}

["dependencies", "devDependencies"].forEach(dependency => {
["dependencies", "devDependencies"].forEach(key => {
if (opt[dependency] && typeof fileJson[dependency] === "object") {
deps = deps.concat(Object.keys(fileJson[dependency]));
}
Expand Down

0 comments on commit 9d1dff1

Please sign in to comment.