aboutsummaryrefslogtreecommitdiff
path: root/src/routes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes.ts')
-rw-r--r--src/routes.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes.ts b/src/routes.ts
index be4380a..31bce07 100644
--- a/src/routes.ts
+++ b/src/routes.ts
@@ -102,7 +102,7 @@ export default (metadata: Metadata): Router => {
// Write report and badge to directory
await fs.promises.writeFile(path.join(reportPath, "badge.svg"), badge);
await fs.promises.writeFile(
- path.join(reportPath, "index.html"),
+ path.join(reportPath, formatter.fileName),
contents
);