(status?: string)
| 188 | } |
| 189 | |
| 190 | function normalizeCommandStatus(status?: string) { |
| 191 | const normalized = (status ?? "").toLowerCase(); |
| 192 | return /(pending|running|processing|started|in[_ -]?progress|inprogress)/.test( |
| 193 | normalized, |
| 194 | ) |
| 195 | ? "exploring" |
| 196 | : "explored"; |
| 197 | } |
| 198 | |
| 199 | function isFailedStatus(status?: string) { |
| 200 | const normalized = (status ?? "").toLowerCase(); |
no outgoing calls
no test coverage detected