bin/validate-schema in json_schema-0.0.15 vs bin/validate-schema in json_schema-0.0.16
- old
+ new
@@ -26,10 +26,10 @@
success = command.run(ARGV.dup)
if success
command.messages.each { |m| $stdout.puts(m) }
elsif !command.errors.empty?
- command.errors.each { |e| $stderr.puts(File.basename(__FILE__) + ": " + e) }
+ command.errors.each { |e| $stderr.puts(e) }
exit(1)
else
print_usage!
exit(1)
end