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

Commit 2c84b58

Browse files
authored
Fix another typo. TODO install a linter.
1 parent 22206ce commit 2c84b58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Web/Promise/Rejection.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ exports.fromError = function(a) {
33
};
44

55
exports._toError = function(just, nothing, ref) {
6-
if (rej instanceof Error) {
6+
if (ref instanceof Error) {
77
return just(ref);
88
}
99
return nothing;
10-
};
10+
};

0 commit comments

Comments
 (0)