()
| 103 | } |
| 104 | |
| 105 | override async printToTerminal() { |
| 106 | const queryResults = await this.data; |
| 107 | if (!queryResults) { |
| 108 | return; |
| 109 | } |
| 110 | Log.info(bold('Github Tasks')); |
| 111 | const minQueryNameLength = Math.max(...queryResults.map((result) => result.queryName.length)); |
| 112 | for (const queryResult of queryResults) { |
| 113 | Log.info(`${queryResult.queryName.padEnd(minQueryNameLength)} ${queryResult.count}`); |
| 114 | |
| 115 | if (queryResult.count > 0) { |
| 116 | Log.info(queryResult.queryUrl); |
| 117 | queryResult.matchedUrls.forEach((url) => Log.info(`- ${url}`)); |
| 118 | if (queryResult.count > MAX_RETURNED_ISSUES) { |
| 119 | Log.info(`... ${queryResult.count - MAX_RETURNED_ISSUES} additional matches`); |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | Log.info(); |
| 124 | } |
| 125 | } |
nothing calls this directly
no outgoing calls
no test coverage detected