Skip to content

Commit

Permalink
Chore: Ensure Pledge.reject() matches spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nzakas committed Oct 12, 2020
1 parent 93df4a0 commit 30674f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pledge.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ export class Pledge {
return pledgeResolve(C, x);
}

static reject(reason) {
static reject(r) {

const C = this;

const capability = new PledgeCapability(C);
capability.reject(reason);
capability.reject(r);
return capability.pledge;
}

Expand Down

0 comments on commit 30674f8

Please sign in to comment.