Commit 81560a802a5b1adead2d1bf4faabc9c270ff1270

Thomas de Grivel 2023-02-26T13:09:49

log html

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 12349f5..11575b6 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -124,8 +124,8 @@ module Rbpkg
     </h1>
     <ul class="list-group">
 EOF
-          logs = Dir["*/*/#{name}.log"].map do |subdir_file|
-            status_file = "#{Rbpkg.ci_dir}/status/#{subdir_file.gsub(/.log$/, ".status")}"
+          logs = Dir["*/*/#{name}.log.html"].map do |subdir_file|
+            status_file = "#{Rbpkg.ci_dir}/status/#{subdir_file.gsub(/.log.html$/, ".status")}"
             s = File.read(status_file).strip
             img = status_img(s)
             subdir_file_html = subdir_file.to_html