lib/travis/cli/report.rb in travis-1.8.6.travis.796.4 vs lib/travis/cli/report.rb in travis-1.8.6.travis.807.4

- old
+ new

@@ -78,11 +78,11 @@ case url when Travis::Client::ORG_URI then "#{prefix}org" when Travis::Client::PRO_URI then "#{prefix}pro" when /api-staging\.travis-ci/ then endpoint_name(url.sub("api-staging.", "api."), "staging-") else - key, _ = config['enterprise'].detect { |k,v| v.start_with? url } + key, _ = config['enterprise'].detect { |k,v| v.start_with? url } if config['enterprise'].respond_to?(:detect) key ? "enterprise %p" % key : "???" end end def known_repos @@ -96,6 +96,6 @@ rescue Travis::Client::Error => e e.message end end end -end \ No newline at end of file +end