Fix Duping

This commit is contained in:
thororen1234 2025-07-11 20:47:46 -04:00
parent a1c791a9fe
commit b3ecd984a2
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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"

View file

@ -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();