Skip to content

Commit

Permalink
fix: generate coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikoTan committed Dec 6, 2024
1 parent 9c10415 commit 5c14c38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions util/gen_coverage_report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,9 @@ const processOopsyFile = (
thisCoverage.oopsy = { num: numTriggers };
};

const processOopsyCoverage = async (manifest: string, coverage: Coverage) => {
const manifestLines = findManifestFiles(manifest);
const dataDir = path.dirname(manifest);
const processOopsyCoverage = async (dir: string, coverage: Coverage) => {
const manifestLines = findManifestFiles(dir);
const dataDir = dir;
for (const line of manifestLines) {
if (!line.endsWith('.js') && !line.endsWith('.ts'))
continue;
Expand Down

0 comments on commit 5c14c38

Please sign in to comment.