Use Urls.githubCommit for githubify
This commit is contained in:
parent
ee2db5d891
commit
2a64382563
|
@ -98,7 +98,8 @@ require 'config/emoij'
|
||||||
_githubCommitReferenceLink: (reference, current, matched) ->
|
_githubCommitReferenceLink: (reference, current, matched) ->
|
||||||
owner = matched.owner || current.owner
|
owner = matched.owner || current.owner
|
||||||
repo = matched.repo || current.repo
|
repo = matched.repo || current.repo
|
||||||
"<a href=\"https://github.com/#{owner}/#{repo}/commit/#{matched.sha}\">#{reference}</a>"
|
url = "#{Travis.Urls.githubCommit("#{owner}/#{repo}", matched.sha)}"
|
||||||
|
"<a href=\"#{url}\">#{reference}</a>"
|
||||||
|
|
||||||
_normalizeDateString: (string) ->
|
_normalizeDateString: (string) ->
|
||||||
if window.JHW
|
if window.JHW
|
||||||
|
|
Loading…
Reference in New Issue
Block a user