(input?: string, defaultArray: string[] = [])
| 517 | |
| 518 | // Splits a : separated list into its own array, or to default if input is undefined |
| 519 | export function splitIntoArray(input?: string, defaultArray: string[] = []): string[] { |
| 520 | if (input === undefined) { |
| 521 | return defaultArray; |
| 522 | } |
| 523 | return input.split(':'); |
| 524 | } |
| 525 | |
| 526 | /*** |
| 527 | * Absolute path to the root of the application |
no outgoing calls
no test coverage detected