Skip to content

Commit

Permalink
supports mcr zip option
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Oct 1, 2024
1 parent 606e08e commit 7f4ad42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion lib/plugins/coverage/coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ const generateGlobalCoverageReport = async (reporterOptions) => {
}

if (reports.raw) {
const rawDir = path.resolve(outputDir, reports.raw.outputDir || 'raw');
let rawDir = path.resolve(outputDir, reports.raw.outputDir || 'raw');
if (reports.raw.zip) {
rawDir += '.zip';
}
artifact.rawDir = Util.relativePath(rawDir, reporterOptions.outputDir);
}

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"koa": "^2.15.3",
"koa-static-resolver": "^1.0.6",
"lz-utils": "^2.1.0",
"monocart-coverage-reports": "^2.10.9",
"monocart-coverage-reports": "^2.11.0",
"monocart-locator": "^1.0.2",
"nodemailer": "^6.9.15"
},
Expand All @@ -59,13 +59,13 @@
"axios": "^1.7.7",
"commander": "^12.1.0",
"dotenv": "^16.4.5",
"eslint": "^9.11.0",
"eslint": "^9.11.1",
"eslint-config-plus": "^2.0.2",
"eslint-plugin-html": "^8.1.2",
"eslint-plugin-vue": "^9.28.0",
"file-saver": "^2.0.5",
"find-up": "^7.0.0",
"github-markdown-css": "^5.6.1",
"github-markdown-css": "^5.7.0",
"glob": "^11.0.0",
"marked": "^14.1.2",
"mermaid": "^11.2.1",
Expand Down

0 comments on commit 7f4ad42

Please sign in to comment.