From 15318137edacfb1e3a90a1e92648f193e2b0498a Mon Sep 17 00:00:00 2001 From: Timothee Guerin Date: Fri, 10 May 2024 17:44:14 -0700 Subject: [PATCH] fix --- eng/common/scripts/sync-labels.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eng/common/scripts/sync-labels.ts b/eng/common/scripts/sync-labels.ts index 1bbb7a70c2..971493be0b 100644 --- a/eng/common/scripts/sync-labels.ts +++ b/eng/common/scripts/sync-labels.ts @@ -44,14 +44,16 @@ function logLabels(message: string, labels: Label[]) { const max = labels.reduce((max, label) => Math.max(max, label.name.length), 0); for (const label of labels) { console.log( - ` ${pc.cyan(label.name).padEnd(max)} #${pc.blue(label.color)} ${pc.gray(label.description)}` + ` ${pc.cyan(label.name.padEnd(max))} ${pc.blue(`#${label.color}`)} ${pc.gray(label.description)}` ); } + console.log(""); } interface UpdateGithubLabelOptions { readonly dryRun?: boolean; } + async function updateGithubLabels(labels: Label[], options: UpdateGithubLabelOptions = {}) { if (!options.dryRun && !process.env.GITHUB_TOKEN) { throw new Error(