(message: unknown)
| 352 | } |
| 353 | |
| 354 | function isSuccessfulEditMessage(message: unknown): boolean { |
| 355 | if (typeof message !== 'string') { |
| 356 | return false |
| 357 | } |
| 358 | |
| 359 | return message |
| 360 | .split('\n') |
| 361 | .some((line) => |
| 362 | SUCCESSFUL_EDIT_MESSAGES.some((successMessage) => |
| 363 | line.trim().startsWith(successMessage), |
| 364 | ), |
| 365 | ) |
| 366 | } |
| 367 | |
| 368 | function isErrorOutput(output: string): boolean { |
| 369 | const trimmedOutput = output.trim() |
no outgoing calls
no test coverage detected