Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed May 5, 2016
1 parent 5e5c277 commit 3fd122f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/Seq.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ const emptyFallback = (result, alternative, errorMessage) => {
if (result !== EMPTY_SYGIL) {
return result;
}
if (obj === THROW_IF_EMPTY) {
if (alternative === THROW_IF_EMPTY) {
throw new Error(errorMessage);
}
return obj;
return alternative;
};


Expand Down

0 comments on commit 3fd122f

Please sign in to comment.