Skip to content

Commit

Permalink
feat: release 0.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcanessa committed Jan 15, 2022
1 parent 097a070 commit ceba431
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "typescript-coverage-report",
"version": "0.6.3",
"version": "0.6.4",
"description": "Node command tool to generate TypeScript coverage report.",
"main": "dist/lib/index.js",
"bin": {
Expand Down
2 changes: 2 additions & 0 deletions src/lib/reporters/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const generate = (
];

coverageTable.push(
// @ts-expect-error For some reason TS doesn't narrow to horizontal table.
headers,
headers.map(() => chalk.gray("---"))
);
Expand All @@ -61,6 +62,7 @@ export const generate = (
};

coverageTable.push(
// @ts-expect-error For some reason TS doesn't narrow to horizontal table.
[
filename,
calculatePercantageWithString(correctCount, totalCount),
Expand Down

0 comments on commit ceba431

Please sign in to comment.