diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-05-25 04:27:34 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-05-26 04:55:29 +0300 |
commit | 5529a238153e570b7119f3f73b9b86c25b376167 (patch) | |
tree | 6538ac00ab408db18effcc3224ff2a5cb0485319 | |
parent | ad5a441288fb6b510d8c1995732e422f2604169e (diff) |
standard: fix some loose ends
-rw-r--r-- | lib/install.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/install.js b/lib/install.js index e7546cdac..80ffb0aa8 100644 --- a/lib/install.js +++ b/lib/install.js @@ -249,8 +249,9 @@ Installer.prototype.run = function (_cb) { if (!this.dryrun) { installSteps.push( [this.newTracker(log, 'runTopLevelLifecycles', 2)], - [this, this.runPreinstallTopLevelLifecycles]) - } + [this, this.runPreinstallTopLevelLifecycles] + ) + } installSteps.push( [this.newTracker(log, 'loadCurrentTree', 4)], [this, this.loadCurrentTree], @@ -551,8 +552,6 @@ Installer.prototype.runPreinstallTopLevelLifecycles = function (cb) { if (this.failing) return cb() if (!this.topLevelLifecycles) return cb() log.silly('install', 'runPreinstallTopLevelLifecycles') - var steps = [] - var trackLifecycle = this.progress.runTopLevelLifecycles readPackageJson(path.join(this.where, 'package.json'), log, false, (err, data) => { if (err) return cb() |