(value: unknown)
| 480 | } |
| 481 | |
| 482 | function parseProjectSelector(value: unknown): string | undefined { |
| 483 | if (typeof value !== 'string') return undefined; |
| 484 | |
| 485 | const trimmedValue = value.trim(); |
| 486 | if (!trimmedValue) return undefined; |
| 487 | |
| 488 | return trimmedValue; |
| 489 | } |
| 490 | |
| 491 | function parseProjectDirectory(value: unknown): string | undefined { |
| 492 | const selector = parseProjectSelector(value); |
no outgoing calls
no test coverage detected