Commit aeb7fcbabd61c0355c60304222ba60732d0be211

Thomas de Grivel 2023-02-28T12:23:59

ci_mux

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 9c8dbc0..5308cdd 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -146,9 +146,9 @@ EOF
     Dir.chdir("#{ci_dir}/status") do
       status.each do |name, s|
         puts "#{name} -> #{s}"
-        final_status[name] = if s.find(:running)
+        final_status[name] = if s.include?(:running)
                                :running
-                             elsif s.find(:ko)
+                             elsif s.include?(:ko)
                                :ko
                              else
                                :ok