()
| 74 | } |
| 75 | |
| 76 | override async printToTerminal() { |
| 77 | const data = await this.data; |
| 78 | const minLabelLength = Math.max(...data.map((result) => result.label.length)); |
| 79 | Log.info(bold(`CI`)); |
| 80 | data.forEach((result) => { |
| 81 | if (result.active === false) { |
| 82 | Log.debug(`No active release train for ${result.name}`); |
| 83 | return; |
| 84 | } |
| 85 | const label = result.label.padEnd(minLabelLength); |
| 86 | if (result.status === null) { |
| 87 | Log.info(`${result.name} branch was not found on CI`); |
| 88 | } else if (result.status === 'passing') { |
| 89 | Log.info(`${label} ${green('✔')}`); |
| 90 | } else if (result.status === 'pending') { |
| 91 | Log.info(`${label} ${yellow('⏺')}`); |
| 92 | } else { |
| 93 | Log.info(`${label} ${red('✘')}`); |
| 94 | } |
| 95 | }); |
| 96 | Log.info(); |
| 97 | } |
| 98 | } |
nothing calls this directly
no outgoing calls
no test coverage detected