Skip to content

Commit

Permalink
Merge pull request #10555 from openSUSE/depfu/update/srcapi/rubocop-1…
Browse files Browse the repository at this point in the history
….6.1
  • Loading branch information
depfu[bot] committed Dec 14, 2020
2 parents 04b9db0 + edc2f08 commit a8e28c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/Gemfile.lock
Expand Up @@ -333,7 +333,7 @@ GEM
rspec-support (3.10.0)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.5.2)
rubocop (1.6.1)
parallel (~> 1.10)
parser (>= 2.7.1.5)
rainbow (>= 2.2.2, < 4.0)
Expand Down
2 changes: 1 addition & 1 deletion src/api/app/models/issue_tracker.rb
Expand Up @@ -47,7 +47,7 @@ def show_label_for(issue)
end

def get_markdown(text)
text.gsub(Regexp.new(regex)) { "[#{$&}](#{show_url_for(Regexp.last_match(1), false)})" }
text.gsub(Regexp.new(regex)) { "[#{Regexp.last_match(0)}](#{show_url_for(Regexp.last_match(1), false)})" }
end

def update_issues_github
Expand Down

0 comments on commit a8e28c4

Please sign in to comment.