From b3ecd984a2b8f19408627eb7a7e5c5a0a396f11a Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 11 Jul 2025 20:47:46 -0400 Subject: [PATCH] Fix Duping --- .github/workflows/reportBrokenPlugins.yml | 2 +- scripts/generateReport.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reportBrokenPlugins.yml b/.github/workflows/reportBrokenPlugins.yml index 70f24b028..6ee38f013 100644 --- a/.github/workflows/reportBrokenPlugins.yml +++ b/.github/workflows/reportBrokenPlugins.yml @@ -107,7 +107,7 @@ jobs: git clone https://$USERNAME:$GITHUB_TOKEN@github.com/$REPO.git report cd report - cp ../dist/report.json . + cp ../dist/reporter*.json . git add -A git commit -m "Reporter Results" diff --git a/scripts/generateReport.ts b/scripts/generateReport.ts index 5e117504b..1e54aa161 100644 --- a/scripts/generateReport.ts +++ b/scripts/generateReport.ts @@ -92,7 +92,7 @@ function toCodeBlock(s: string, indentation = 0, isDiscord = false) { } async function printReport() { - const filePath = join("dist", "report.json"); + const filePath = join("dist", (CANARY ? "reporter-canary.json" : "reporter-stable.json")); writeFileSync(filePath, JSON.stringify(report, null, 2)); console.log();