mirror of
https://github.com/internetee/registry.git
synced 2025-07-31 15:06:23 +02:00
fixed codeclimate errors
This commit is contained in:
parent
e0c47cdb35
commit
788af6cc5f
15 changed files with 32 additions and 31 deletions
|
@ -82,8 +82,8 @@ module Xsd
|
|||
end
|
||||
|
||||
def schemas_by_name
|
||||
prefixes.each_with_object({}) do |prefix, hash|
|
||||
hash[prefix] = xsd_schemas.select { |filename| prefix_check(prefix, filename) }.uniq.sort
|
||||
prefixes.index_with do |prefix|
|
||||
xsd_schemas.select { |filename| prefix_check(prefix, filename) }.uniq.sort
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue