f"{linters_with_multiple_reports}. The option `--lint-reports-dir` only works if "
f"each linter has a single result. {suggestion}"
)
reports = itertools.chain.from_iterable(linter_to_reports.values())
merged_reports = await Get(Digest, MergeDigests(report.digest for report in reports))
workspace.write_digest(merged_reports, path_prefix=lint_subsystem.reports_dir)
logger.info(f"Wrote lint result files to {lint_subsystem.reports_dir}.")