(message: string)
| 2 | * Check if the error message indicates the upstream branch is missing/deleted |
| 3 | */ |
| 4 | export function isUpstreamMissingError(message: string): boolean { |
| 5 | return ( |
| 6 | message.includes("no such ref was fetched") || |
| 7 | message.includes("no tracking information") || |
| 8 | message.includes("couldn't find remote ref") |
| 9 | ); |
| 10 | } |
no outgoing calls
no test coverage detected