(value: string)
| 31 | } |
| 32 | |
| 33 | function nonEmptyString(value: string): string | null { |
| 34 | const trimmed = value.trim(); |
| 35 | return trimmed.length > 0 ? trimmed : null; |
| 36 | } |
| 37 | |
| 38 | export function parseGitHubAuthStatus(text: string): GitHubAuthStatus { |
| 39 | return Option.match(decodeGitHubAuthStatusJson(text), { |
no outgoing calls
no test coverage detected