Skip to content

Commit f264589

Browse files
committed
fix(ci): don't double-wrap fix hints in code blocks
The fix_hint field already contains markdown code blocks, so write_github_summary shouldn't wrap it in another code block.
1 parent 9012873 commit f264589

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/fast_checks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ def write_github_summary(check: Check, check_key: str, output: str) -> None:
5252
f.write(output)
5353
f.write("\n```\n\n")
5454
f.write("### How to fix\n\n")
55-
f.write("```bash\n")
5655
f.write(check.fix_hint)
57-
f.write("\n```\n\n")
56+
f.write("\n\n")
5857
f.write("### How to verify\n\n")
5958
f.write("Run the tool directly:\n\n")
6059
f.write("```bash\n")

0 commit comments

Comments
 (0)