lib/percheron/validators/config.rb in percheron-0.6.4 vs lib/percheron/validators/config.rb in percheron-0.7.0

- old
+ new

@@ -8,10 +8,10 @@ def valid? message = rules.return { |rule| send(rule) } if message - raise Errors::ConfigFileInvalid.new(message) + fail Errors::ConfigFileInvalid, message else true end end