Skip to content

Commit

Permalink
Fix trying to join a string
Browse files Browse the repository at this point in the history
Unbelievable how many errors this caused, stupid little oversight.
  • Loading branch information
RoelN committed Nov 29, 2024
1 parent 9f39887 commit 2f71fa5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/fondue/Fondue.js
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,13 @@ const createType6Summary = (feature, randomize) => {
.reduce((a, b) =>
a.reduce((r, v) => r.concat(b.map((w) => [].concat(v, w))), [])
)
.map((a) => a.join(""));
.map((a) => {
if (Array.isArray(a)) {
return a.join("");
} else {
return a;
}
});

return {
allInputs: allInputs.sort(),
Expand Down

0 comments on commit 2f71fa5

Please sign in to comment.