Skip to content

Commit 99584ab

Browse files
committed
comments
1 parent ff8ad54 commit 99584ab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/commands/compare.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,13 @@ export async function compareMany(
3333
): Promise<ComparisonResult> {
3434
let exitWithError = false;
3535

36+
// For --only filtering
3637
const onlySet: Set<Category> | undefined = opts.only?.length
3738
? new Set(opts.only)
3839
: undefined;
3940
const run = (cat: Category) => !onlySet || onlySet.has(cat);
4041

42+
// Overall totals (for --show-stats summary)
4143
const totals: Record<Category, number> = {
4244
missing: 0,
4345
extra: 0,

0 commit comments

Comments
 (0)