Skip to content

Commit

Permalink
Fix to Array Finalizer failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Indomitable committed Dec 24, 2019
1 parent acb1a20 commit 9bc7934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/finalizers/to-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ export class ToArrayArrayFinalizer {
if (!mapper) {
return source.get();
}
return source.map(mapper).toArray();
return source.get().map(mapper);
}
}

0 comments on commit 9bc7934

Please sign in to comment.