We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff8ad54 commit 99584abCopy full SHA for 99584ab
1 file changed
src/commands/compare.ts
@@ -33,11 +33,13 @@ export async function compareMany(
33
): Promise<ComparisonResult> {
34
let exitWithError = false;
35
36
+ // For --only filtering
37
const onlySet: Set<Category> | undefined = opts.only?.length
38
? new Set(opts.only)
39
: undefined;
40
const run = (cat: Category) => !onlySet || onlySet.has(cat);
41
42
+ // Overall totals (for --show-stats summary)
43
const totals: Record<Category, number> = {
44
missing: 0,
45
extra: 0,
0 commit comments