Skip to content

Commit

Permalink
Fixed hound notice
Browse files Browse the repository at this point in the history
  • Loading branch information
dizer committed Jun 12, 2019
1 parent 9142a81 commit 052e3c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/json_matchers/matcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def document_store
document_store = JsonSchema::DocumentStore.new

Dir.glob("#{JsonMatchers.schema_root}/**/*.json").
map { |path| Pathname.new(path) }.
map { |schema_path| Parser.new(schema_path).parse }.
map { |schema| document_store.add_schema(schema) }.
each { |schema| schema.expand_references!(store: document_store) }
map { |path| Pathname.new(path) }.
map { |schema_path| Parser.new(schema_path).parse }.
map { |schema| document_store.add_schema(schema) }.
each { |schema| schema.expand_references!(store: document_store) }

document_store
end
Expand Down

0 comments on commit 052e3c4

Please sign in to comment.