(tone)
| 68 | } |
| 69 | |
| 70 | function modalBorderColor(tone) { |
| 71 | if (tone === "error") return palette.red; |
| 72 | if (tone === "info") return palette.cyan; |
| 73 | return palette.green; |
| 74 | } |
| 75 | |
| 76 | function normalizeStatus(rawStatus) { |
| 77 | const source = typeof rawStatus === "object" && rawStatus !== null ? rawStatus : {}; |
no outgoing calls
no test coverage detected