Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 6a3988a

Browse files
committed
Fix: Report: Allow to select output file if report from dump selected
1 parent 06239c6 commit 6a3988a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/gtt-report.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ if (program.from_dump && fs.existsSync(program.from_dump)) {
7575
let data = JSON.parse(fs.readFileSync(program.from_dump));
7676

7777
if (data.data) _.each(data.data, (v, i) => {
78+
// Unsetting option "file", as it does not allow to select different output file
79+
if (i === 'file') {
80+
return;
81+
}
7882
config.set(i, v);
7983
});
8084

0 commit comments

Comments
 (0)