Skip to content

Commit

Permalink
Use bluebird's promise and not the native version. Should fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
machawk1 committed Apr 8, 2018
1 parent 83b42a7 commit 3a44e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/crawler/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class Launcher {
'/Versions/A/Support/lsregister'
const nlre = /\r?\n/
const installations = []
const exec = Promise.promisify(cp.exec)
const exec = BPromise.promisify(cp.exec)

let str = await exec(`${LSREGISTER} -dump | grep -i 'google chrome\\( canary\\)\\?.app$' | awk '{$1="" print $0}'`)
str.toString()
Expand Down

0 comments on commit 3a44e7c

Please sign in to comment.