Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Nov 15, 2024
1 parent ec0b7bc commit 660588f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/canyon-data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "canyon-data",
"version": "0.1.1-alpha.16",
"version": "0.1.1-alpha.17",
"type": "module",
"main": "dist/canyon-data.cjs",
"module": "dist/canyon-data.js",
Expand All @@ -27,4 +27,4 @@
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-source-maps": "^5.0.6"
}
}
}
2 changes: 1 addition & 1 deletion packages/canyon-data/src/utils/line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function calculateNewLineCoverageForSingleFile(coverage:FileCoverageData,
});

const noCoveredLines = getLinesFromRanges(noCovered);

console.log(noCoveredLines,'noCoveredLines')
return {
total: newLine.length,
covered: newLine.filter((line) => !noCoveredLines.includes(line)).length,
Expand Down
2 changes: 1 addition & 1 deletion packages/canyon-platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@
"vite": "^5.4.11",
"vite-plugin-pages": "^0.32.3"
}
}
}

0 comments on commit 660588f

Please sign in to comment.