Skip to content

Commit

Permalink
fix(ci): cannot read property concat of undefined
Browse files Browse the repository at this point in the history
Closes #16
  • Loading branch information
JamieMason committed Jan 14, 2019
1 parent a66663f commit 46a45e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/collect.ts
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
export const collect = (value: string, values: string[]) => [...values, value];
export const collect = (value: string, values: string[] = []) => [
...values,
value
];

0 comments on commit 46a45e2

Please sign in to comment.