lib/icarus/mod/cli/validate.rb in Icarus-Mod-Tools-2.0.4 vs lib/icarus/mod/cli/validate.rb in Icarus-Mod-Tools-2.1.0
- old
+ new
@@ -27,10 +27,10 @@
# rubocop:disable Lint/FormatParameterMismatch
validator.array.each do |info|
print Paint[format("%s %-#{max_length}s", "Running validation steps on", info.uniq_name), :cyan, :bright] if verbose > 1
- info.valid?
+ info.validate
unless info.errors? || info.warnings?
puts Paint["SUCCESS", :green, :bright] if verbose > 1
next
end