Skip to content

Commit

Permalink
chore: daily development
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Dec 25, 2024
1 parent ece9bad commit 2d114fe
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/canyon-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@prisma/client": "5.16.1",
"axios": "^1.7.9",
"body-parser": "^1.20.3",
"canyon-data": "^2.0.0-beta.7",
"canyon-data": "^2.0.0-beta.8",
"canyon-map": "^2.0.0-beta.6",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
Expand Down Expand Up @@ -70,4 +70,4 @@
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/canyon-collect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@nestjs/platform-express": "^10.4.15",
"@nestjs/typeorm": "^10.0.2",
"@prisma/client": "5.16.1",
"canyon-data": "^2.0.0-beta.7",
"canyon-data": "^2.0.0-beta.8",
"canyon-map": "^2.0.0-beta.6",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
Expand Down Expand Up @@ -54,4 +54,4 @@
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.2"
}
}
}
2 changes: 1 addition & 1 deletion packages/canyon-data/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "canyon-data",
"version": "2.0.0-beta.8",
"version": "2.0.0-beta.9",
"description": "",
"type": "module",
"exports": {
Expand Down
1 change: 1 addition & 0 deletions packages/canyon-data/src/utils/line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export function calculateNewLineCoverageForSingleFile(
branchRange.locations.forEach((location, index) => {
// branch类型是if,并且有多个分支的,第一个if的location范围是整个分支的范围,所以如果它未覆盖,会导致标注的时候整个分支红色,先剔除。
if (
coverage.b[key]&&
coverage.b[key][index] === 0 &&
specialLogicByIf(branchRange, index)
) {
Expand Down
4 changes: 2 additions & 2 deletions packages/canyon-report/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"antd": "^5.22.6",
"axios": "^1.7.9",
"canyon-core": "^0.1.1-beta.3",
"canyon-data": "^2.0.0-beta.7",
"canyon-data": "^2.0.0-beta.8",
"commander": "^12.1.0",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-report": "^3.0.1",
Expand All @@ -49,4 +49,4 @@
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2"
}
}
}

0 comments on commit 2d114fe

Please sign in to comment.