lib/jira/plugin.rb in danger-jira-0.4.1 vs lib/jira/plugin.rb in danger-jira-0.4.2
- old
+ new
@@ -84,10 +84,10 @@
if jira_issues.empty?
github.pr_body.gsub(regexp) do |match|
jira_issues << match
end
end
- return jira_issues
+ return jira_issues.uniq
end
def ensure_url_ends_with_slash(url)
return "#{url}/" unless url.end_with?("/")
return url