Skip to content

Commit

Permalink
Fix rubocop error
Browse files Browse the repository at this point in the history
  • Loading branch information
jheysel-r7 authored Mar 4, 2024
1 parent bf59f58 commit 1124e34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def get_contents(tags)
vprint_status('Check RSS tags feed for: ' + tags)

# Tag needs to be lower case, so...
tags.sub!(/^\//, '') if tags.start_with?("/")
tags.sub!(%r{^/}, '') if tags.start_with?('/')
tags = "#{tags.split('/')[0]}/#{tags.split('/')[1].downcase}"

res = send_request_cgi(
Expand Down

0 comments on commit 1124e34

Please sign in to comment.