Skip to content

Commit

Permalink
Migrate /tests to metatests
Browse files Browse the repository at this point in the history
PR-URL: #382
  • Loading branch information
Nicita01 authored and lundibundi committed Dec 3, 2018
1 parent 3d83c56 commit c8e5a62
Show file tree
Hide file tree
Showing 28 changed files with 2,388 additions and 2,557 deletions.
4 changes: 2 additions & 2 deletions lib/collector.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ Collector.prototype.cancel = function(err) {
};

Collector.prototype.then = function(fulfill, reject) {
if (!fulfill) fulfill = common.emptyness;
if (!reject) reject = common.emptyness;
if (!fulfill) fulfill = common.emptiness;
if (!reject) reject = common.emptiness;
this.onDone = (err, result) => {
this.onDone = common.emptiness;
if (err) reject(err);
Expand Down
Loading

0 comments on commit c8e5a62

Please sign in to comment.