Skip to content

Commit

Permalink
don't link to jari's defunct dashboard in links to commits
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeis committed Jul 20, 2015
1 parent 408c023 commit ed70126
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/selbot2/util.rb
Expand Up @@ -67,10 +67,9 @@ def format_revision(obj)
revision = obj.sha[0,7]

url = "#{Selbot2::REPO}/commit/#{revision}"
ci_url = "http://dashboard.ci.seleniumhq.org/#/revision/#{obj.sha}"
short_message = message.split("\n").first

Util.format_string "%g#{author}%n #{Util.distance_of_time_in_words time} ago - %B#{short_message}%n | #{url} | #{ci_url}"
Util.format_string "%g#{author}%n #{Util.distance_of_time_in_words time} ago - %B#{short_message}%n | #{url}"
end
end
end

0 comments on commit ed70126

Please sign in to comment.