Skip to content

Commit 28d2f8e

Browse files
don't write summary if no telemetry output
1 parent 2ce7a94 commit 28d2f8e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/logging.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ export class Logger {
260260
}
261261

262262
public CI_appendWorkflowSummary(name: string, telemetry: UTP[]) {
263+
if (telemetry.length === 0) { return; }
263264
switch (this._ci) {
264265
case 'GITHUB_ACTIONS': {
265266
const githubSummary = process.env.GITHUB_STEP_SUMMARY;

0 commit comments

Comments
 (0)