lib/schemacop/v2/collector.rb in schemacop-3.0.16 vs lib/schemacop/v2/collector.rb in schemacop-3.0.17
- old
+ new
@@ -58,10 +58,10 @@
end
def exception_message
# rubocop:disable Style/StringConcatenation
return "Schemacop validation failed:\n" + @exceptions.map do |e|
- "- #{e[:path].join('')}: #{e[:message]}"
+ "- #{e[:path].join}: #{e[:message]}"
end.join("\n")
# rubocop:enable Style/StringConcatenation
end
def error(error_msg)