( chunks: StarshipStatusLineChunk[], moduleChunks: StarshipStatusLineChunk[], )
| 65 | } |
| 66 | |
| 67 | function pushModule( |
| 68 | chunks: StarshipStatusLineChunk[], |
| 69 | moduleChunks: StarshipStatusLineChunk[], |
| 70 | ): void { |
| 71 | if (chunks.length > 0) { |
| 72 | chunks.push({ |
| 73 | text: MODULE_GAP, |
| 74 | color: 'subtle', |
| 75 | dim: true, |
| 76 | }) |
| 77 | } |
| 78 | chunks.push(...moduleChunks) |
| 79 | } |
| 80 | |
| 81 | export function buildStarshipStatusLineChunks( |
| 82 | input: StarshipStatusLineInput, |
no outgoing calls
no test coverage detected