aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wilmott <p@p8952.info>2015-04-13 19:03:12 +0100
committerPeter Wilmott <p@p8952.info>2015-04-13 19:03:12 +0100
commit5380f6d27f6a04d4ced645f9221b9025bb0f970c (patch)
tree56ddeecdabf7b91d94b8ff71c291cf0667954d55 /web/app.rb
parentWhen building a package also build it with the next target if possible (diff)
downloadruby-tinderbox-5380f6d27f6a04d4ced645f9221b9025bb0f970c.tar.gz
ruby-tinderbox-5380f6d27f6a04d4ced645f9221b9025bb0f970c.tar.bz2
ruby-tinderbox-5380f6d27f6a04d4ced645f9221b9025bb0f970c.zip
Correct repoman.sh to work better when the next target is unknown; Rubocop style fixes
Diffstat (limited to 'web/app.rb')
-rw-r--r--web/app.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app.rb b/web/app.rb
index 1aa3ce8..80379ba 100644
--- a/web/app.rb
+++ b/web/app.rb
@@ -92,7 +92,7 @@ class RubyTinderbox < Sinatra::Base
repoman_next = package.repoman_dataset.where(target: 'next').reverse_order(:timestamp).first
next if repoman_next.nil?
- if repoman_current[:result] == 'passed' and repoman_next[:result] == 'passed'
+ if repoman_current[:result] == 'passed' && repoman_next[:result] == 'passed'
packages << [package, build_current, nil, repoman_current, repoman_next]
end
end