Skip to content

Commit

Permalink
Fix RuboCop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite committed Oct 10, 2023
1 parent 50d4233 commit 551eb53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def matches_resource?(item)
end

def localeless_path
relative_path.gsub(/\A#{data.locale}\//, "")
relative_path.gsub(%r{\A#{data.locale}/}, "")
end
end
end

0 comments on commit 551eb53

Please sign in to comment.