Commit 8fcd74383352454b8c87cfb8302a42e5bb373b54

Thomas de Grivel 2023-02-28T16:38:28

rbpkg_ci_mux

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 676220d..e9017c8 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -92,7 +92,7 @@ module Rbpkg
 EOF
           sublogs.each do |d, sublog|
             sublog_img = status_img(sublog[:status])
-            sublog_html = sublog[:html].to_html
+            sublog_html = (sublog[:html] || sublog[:log]).to_html
             sublog_status = sublog[:status].to_s.to_html
             output.puts <<-EOF
       <li class="list-group-item">