Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Fix another typo. TODO install a linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
natefaubion authored Jan 14, 2020
1 parent 22206ce commit 2c84b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Web/Promise/Rejection.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ exports.fromError = function(a) {
};

exports._toError = function(just, nothing, ref) {
if (rej instanceof Error) {
if (ref instanceof Error) {
return just(ref);
}
return nothing;
};
};

0 comments on commit 2c84b58

Please sign in to comment.