lib/danger_plugin.rb in danger-mention-0.4.0 vs lib/danger_plugin.rb in danger-mention-0.5.0
- old
+ new
@@ -73,10 +73,10 @@
end
def compose_urls(files)
host = 'https://' + env.request_source.host
repo_slug = env.ci_source.repo_slug
- path = host + '/' + repo_slug + '/' + 'blame' + '/' + branch_for_base
+ path = host + '/' + repo_slug + '/' + 'blame' + '/' + github.branch_for_base
urls = []
files.each do |file|
urls << path + '/' + file
end