lib/travis/cli/report.rb in travis-1.8.9.travis.875.3 vs lib/travis/cli/report.rb in travis-1.8.9.travis.916.11

- old
+ new

@@ -75,10 +75,10 @@ end def endpoint_name(url, prefix = "") case url when Travis::Client::ORG_URI then "#{prefix}org" - when Travis::Client::PRO_URI then "#{prefix}pro" + when Travis::Client::COM_URI then "#{prefix}com" 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 } if config['enterprise'].respond_to?(:detect) key ? "enterprise %p" % key : "???" end