diff --git a/lib/analyzers/implicit_json_schema.rb b/lib/analyzers/implicit_json_schema.rb index 403bbf9..c074fec 100644 --- a/lib/analyzers/implicit_json_schema.rb +++ b/lib/analyzers/implicit_json_schema.rb @@ -36,7 +36,7 @@ def merge(other_schema) other_attributes.each do |attribute, value| # if the other schema has a nil for an attribute, then throw that away, because # it means the attribute was never classified - unless value + if value.nil? other_attributes.delete(attribute) next end