Skip to content

Commit

Permalink
Fix linking
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiebuilds committed Feb 1, 2016
1 parent 769cfaf commit 4ecfff5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/commands/bootstrap/linkDependencies.js
Expand Up @@ -31,6 +31,10 @@ module.exports = function linkDependencies(packages, packagesLoc, currentVersion
mkdirp(nodeModulesLoc, done);
});

tasks.push(function (done) {
npmInstallInDir(packageLoc, done);
});

tasks.push(function (done) {
linkDependenciesForPackage(
root.pkg,
Expand All @@ -42,10 +46,6 @@ module.exports = function linkDependencies(packages, packagesLoc, currentVersion
);
});

tasks.push(function (done) {
npmInstallInDir(packageLoc, done);
});

tasks.push(function (done) {
if (!completed) tick(root.name);
done();
Expand Down

0 comments on commit 4ecfff5

Please sign in to comment.