exceptions: fix RuboCop warning with present?
This commit is contained in:
parent
b23f990175
commit
14dc7d6bb8
@ -419,7 +419,7 @@ class BuildError < RuntimeError
|
|||||||
|
|
||||||
puts
|
puts
|
||||||
|
|
||||||
unless issues&.empty?
|
if issues.present?
|
||||||
puts "These open issues may also help:"
|
puts "These open issues may also help:"
|
||||||
puts issues.map { |i| "#{i["title"]} #{i["html_url"]}" }.join("\n")
|
puts issues.map { |i| "#{i["title"]} #{i["html_url"]}" }.join("\n")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user