#373: misprint
This commit is contained in:
parent
35a2be81cf
commit
4a3068ce42
|
@ -238,7 +238,7 @@ class Platform < ActiveRecord::Base
|
||||||
next false unless product
|
next false unless product
|
||||||
pbl = product.product_build_lists.for_status(ProductBuildList::BUILD_COMPLETED).recent.first
|
pbl = product.product_build_lists.for_status(ProductBuildList::BUILD_COMPLETED).recent.first
|
||||||
next false unless pbl
|
next false unless pbl
|
||||||
result = pbl.results.results.find{ |r| r['file_name'] =~ /-#{arch}.tar.gz$/ }
|
result = pbl.results.find{ |r| r['file_name'] =~ /-#{arch}.tar.gz$/ }
|
||||||
result.present? ? result['sha1'] : false
|
result.present? ? result['sha1'] : false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue