Skip to content

Commit

Permalink
Close #23 PR: fix promise support for benchmarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
schnittstabil authored and sindresorhus committed Mar 20, 2016
1 parent a3f8544 commit 01e99e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ var BENCH_DIR = 'bench';
var runners = [{
name: 'globby async (working directory)',
run: function (patterns, cb) {
setImmediate(globby, patterns, cb);
globby(patterns).then(cb.bind(null, null), cb);
}
}, {
name: 'globby async (upstream/master)',
run: function (patterns, cb) {
setImmediate(globbyMaster, patterns, cb);
globbyMaster(patterns).then(cb.bind(null, null), cb);
}
}, {
name: 'globby sync (working directory)',
Expand Down

0 comments on commit 01e99e7

Please sign in to comment.