(input: string)
| 582 | } |
| 583 | |
| 584 | function parseBackgroundPRShortcutInput(input: string): string | null { |
| 585 | const trimmedStart = input.trimStart(); |
| 586 | if (!trimmedStart.startsWith(BG_PR_SHORTCUT_PREFIX)) { |
| 587 | return null; |
| 588 | } |
| 589 | return trimmedStart.slice(1).trim(); |
| 590 | } |
| 591 | |
| 592 | export type Props = { |
| 593 | commands: Command[]; |
no outgoing calls
no test coverage detected