(remaining: number)
| 59 | } |
| 60 | |
| 61 | function getContextColor(remaining: number): string { |
| 62 | if (remaining <= 10) return 'error' |
| 63 | if (remaining <= 25) return 'warning' |
| 64 | return 'success' |
| 65 | } |
| 66 | |
| 67 | function pushModule( |
| 68 | chunks: StarshipStatusLineChunk[], |
no outgoing calls
no test coverage detected