.evergreen/tools.rb
Method download_url
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def download_url
@download_url ||= begin
info = JSON.load(uri_open('http://downloads.mongodb.org/current.json').read)
version = info['versions'].detect do |version|
version['version'].start_with?(desired_version) &&