diff --git a/bin/copper b/bin/copper index b149e21..4c43894 100755 --- a/bin/copper +++ b/bin/copper @@ -73,7 +73,7 @@ module Copper content.split('---').each_with_index do |part, idx| puts "Validating part #{idx}" file = YAML::load(part) - failed = validate(rules, file, content_file) + failed = true if validate(rules, file, content_file) end exit(1) if failed