Monorepo management for opam overlays
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

monopam/lint: suppress empty ✗ summary after --fix clears root diffs

When only root-file staleness was flagged and --fix regenerates them,
print_summary printed \"✗ in 0 packages (N scanned)\" with an empty
parts list. Emit the green success line instead when no dep/source
issues remain post-fix.

+6 -1
+6 -1
bin/cmd_lint.ml
··· 232 232 else 233 233 let migrated = claude_dir_has_override ~fs ~monorepo in 234 234 List.iter (print_root_diff ~migrated) root_diffs); 235 - print_summary ~issues ~source_issues ~label; 235 + if issues <> [] || source_issues <> [] then 236 + print_summary ~issues ~source_issues ~label 237 + else if fix && root_diffs <> [] then 238 + Fmt.pr "%a All checks passed (%s).@." 239 + Fmt.(styled (`Fg `Green) string) 240 + "✓" label; 236 241 `Ok ()) 237 242 238 243 let cmd =