diff options
| author | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-12 14:27:10 -0400 |
|---|---|---|
| committer | Kevin J Hoerr <kjhoerr@protonmail.com> | 2021-09-12 14:27:10 -0400 |
| commit | c3ce0680a9828d9bd3fc18f0c0f6ee87fa40868e (patch) | |
| tree | 89c1191727a833cdc9b1733a23bd4c1f844ba3d9 /src/routes.ts | |
| parent | 317b2590bf125ba3ceb1dba14d91d296f115846b (diff) | |
| download | ao-coverage-c3ce0680a9828d9bd3fc18f0c0f6ee87fa40868e.tar.gz ao-coverage-c3ce0680a9828d9bd3fc18f0c0f6ee87fa40868e.tar.bz2 ao-coverage-c3ce0680a9828d9bd3fc18f0c0f6ee87fa40868e.zip | |
Add target filename to format
Diffstat (limited to 'src/routes.ts')
| -rw-r--r-- | src/routes.ts | 2 |
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 ); |
