Skip to content

Commit

Permalink
merge and zip option for raw report
Browse files Browse the repository at this point in the history
  • Loading branch information
cenfun committed Sep 29, 2024
1 parent 609a3f7 commit 9c06bc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ declare namespace MCR {
outputFile?: string;
}] |
['raw'] | ['raw', {
merge?: boolean;
zip?: boolean;
outputDir?: string;
}] |
[string] | [string, {
Expand Down
1 change: 1 addition & 0 deletions lib/reports/raw.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const zipReport = (rawDir, rawParent) => {
const rawReport = async (reportData, reportOptions, options) => {
const rawOptions = {
outputDir: 'raw',
merge: false,
zip: false,
... reportOptions
};
Expand Down

0 comments on commit 9c06bc8

Please sign in to comment.