Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Commit

Permalink
fix(extract): make sure to extract properly
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Jul 13, 2017
1 parent bb695fc commit 9643583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function extractDeps (modPath, deps) {
}).tap(pkg => {
return runScript('preinstall', pkg, childPath)
}).then(pkg => {
return extractDeps(path.join(childPath, 'node_modules'))
return extractDeps(path.join(childPath, 'node_modules'), child.dependencies)
.then(dependencies => {
return {
name,
Expand Down

0 comments on commit 9643583

Please sign in to comment.