diff options
author | Peter Wilmott <p@p8952.info> | 2015-04-13 19:03:12 +0100 |
---|---|---|
committer | Peter Wilmott <p@p8952.info> | 2015-04-13 19:03:12 +0100 |
commit | 5380f6d27f6a04d4ced645f9221b9025bb0f970c (patch) | |
tree | 56ddeecdabf7b91d94b8ff71c291cf0667954d55 /web/app.rb | |
parent | When building a package also build it with the next target if possible (diff) | |
download | ruby-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.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |