Skip to content

Commit

Permalink
Update code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Apr 26, 2024
1 parent 27fe68d commit 534afb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const getBool = (name: string): boolean => {
export type Separator = "space" | "comma";

/**
* Convert a comma-separated string input into an array of strings, leaving whitespace intact.
* Convert a comma-separated string input into an array of strings. If `comma` is selected,
* all whitespace is removed from the string before converting to an array.
*/
const getArrayOfStrings = (name: string, separator: Separator): string[] => {
const original = getString(name);
Expand Down

0 comments on commit 534afb2

Please sign in to comment.