Merge pull request #4215 from consul/dependabot/bundler/rubocop-0.93.1
Bump rubocop from 0.91.1 to 0.93.1
This commit is contained in:
@@ -9,7 +9,7 @@ module I18n
|
||||
return entry unless entry.is_a?(Hash) && count
|
||||
|
||||
key = pluralization_key(entry, count)
|
||||
return "#{count}" unless entry.has_key?(key)
|
||||
return count.to_s unless entry.has_key?(key)
|
||||
|
||||
entry[key]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user