Skip to content
Snippets Groups Projects
Commit 7dddc4df authored by Mike McQuaid's avatar Mike McQuaid
Browse files

exceptions: assume Ruby 2.

parent 3ae663c0
No related branches found
No related tags found
No related merge requests found
......@@ -350,7 +350,7 @@ class BuildError < RuntimeError
end
end
puts
if RUBY_VERSION >= "1.8.7" && issues && !issues.empty?
if issues && !issues.empty?
puts "These open issues may also help:"
puts issues.map { |i| "#{i["title"]} #{i["html_url"]}" }.join("\n")
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment