Commit eb1994cc43013b564eaaa7005caf7dc8d3b5a1bf

Thomas de Grivel 2023-02-28T12:00:21

ci_mux

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 2b3cdd4..777235c 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -65,7 +65,7 @@ module Rbpkg
     Dir.chdir("#{Rbpkg.ci_dir}/log") do
       log.each do |name, sublogs|
         File.open("#{name}.html", "w") do |output|
-          puts({name: name, final_status: final_status}.inspect)
+          puts({name: name, final_status: final_status[name]}.inspect)
           s = final_status[name]
           img = status_img(s)
           output.puts <<-EOF
@@ -137,6 +137,7 @@ EOF
         end
       end
     end
+    log
   end
 
   def self.ci_mux_status(status)