Skip to content

Commit 0a0d2e6

Browse files
committed
chore(utils): fix typo
1 parent 20a2eed commit 0a0d2e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ export function duplicate<T>(list: readonly T[]): T[] {
1515
return [...duplicates];
1616
}
1717

18-
const reCommaSplitWithoutDquote = /,(?=(?:(?:[^"]*"){2})*[^"]*$)/;
18+
const reCommaSplitWithoutDQuote = /,(?=(?:(?:[^"]*"){2})*[^"]*$)/;
1919

2020
/** Parse string into list-based field. */
2121
export function parseList(input: string): string[] {
2222
return input
23-
.split(reCommaSplitWithoutDquote)
23+
.split(reCommaSplitWithoutDQuote)
2424
.map(trim)
2525
.filter(Boolean);
2626
}

0 commit comments

Comments
 (0)