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

Commit

Permalink
fix(tree): pass through a custom Promise to logiTree
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Oct 13, 2017
1 parent 494b1b8 commit 2d29efb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Installer {
.then(() => {
dep !== this.tree && this.pkgCount++
})
}, {concurrency: 50})
}, {concurrency: 50, Promise: BB})
}

buildTree (tree) {
Expand Down Expand Up @@ -157,7 +157,7 @@ class Installer {
}
})
})
}, {concurrency: 50})
}, {concurrency: 50, Promise: BB})
}

// A cute little mark-and-sweep collector!
Expand Down Expand Up @@ -210,7 +210,7 @@ function sweep (tree, prefix, liveDeps) {
return rimraf(dep.path(prefix))
}
})
}, {concurrency: 50}).then(() => purged)
}, {concurrency: 50, Promise: BB}).then(() => purged)
}

function stripBOM (str) {
Expand Down

0 comments on commit 2d29efb

Please sign in to comment.