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

Commit

Permalink
fix(installer): move writeLockHash to the end
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Nov 9, 2018
1 parent ad7b601 commit a8f16ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,11 @@ class Installer {
if (!this.validLockHash || this.force) {
this.log('info', 'Generating new package map')
await this.timedStage('fetchTree', this.tree)
await this.timedStage('writeLockHash')
await this.timedStage('buildTree', this.tree)
await this.tinkifyBins()
// await this.timedStage('garbageCollect', this.tree)
await this.timedStage('runScript', 'prepublish', this.pkg, this.prefix)
await this.timedStage('runScript', 'prepare', this.pkg, this.prefix)
await this.timedStage('writeLockHash')
} else {
this.log('info', 'Found valid existing package map. Skipping fetch.')
}
Expand Down

0 comments on commit a8f16ec

Please sign in to comment.