Skip to content

Commit

Permalink
format as bullet list with number first
Browse files Browse the repository at this point in the history
  • Loading branch information
IanButterworth committed Dec 18, 2024
1 parent c392339 commit 8656980
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/jobs/PkgEvalJob.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1218,12 +1218,11 @@ function printpackageresults(io::IO, job::PkgEvalJob, package_results; headlines
subgroups = groupby(group, :reason; skipmissing=true)
for key in sort(keys(subgroups); by=key->PkgEval.reason_severity(key.reason))
subgroup = subgroups[key]
headline = "$(uppercasefirst(PkgEval.reason_message(first(subgroup).reason))) ($(nrow(subgroup)) packages):"
if headlines_only
println(io, headline)
println(io, " - $(nrow(subgroup)) : $(uppercasefirst(PkgEval.reason_message(first(subgroup).reason))) :")
else
println(io, """
<details open><summary>$headline</summary>
<details open><summary>"$(uppercasefirst(PkgEval.reason_message(first(subgroup).reason))) ($(nrow(subgroup)) packages):"</summary>
<p>
""")
println(io)
Expand Down

0 comments on commit 8656980

Please sign in to comment.