Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
placintaalexandru committed Dec 28, 2023
1 parent 2ce57d1 commit 2c6b410
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

8 changes: 2 additions & 6 deletions src/utils/input.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
export const collect = (value: string, previous: string[]): string[] => {
if (!previous) {
return [value];
}

return previous.concat([value]);
export const collect = (value: string): string[] => {
return value.split(" ");
};

0 comments on commit 2c6b410

Please sign in to comment.