lib/vindetta/cli.rb in vindetta-0.15.0 vs lib/vindetta/cli.rb in vindetta-0.16.0

- old
+ new

@@ -28,12 +28,10 @@ c.action do |_global, _options, args| vin = args.first exit_now!(I18n.t("required"), 1) if vin.nil? - valid = Vindetta::Validator.run(vin) - - puts valid ? 1 : 0 + puts Vindetta::Validator.run(vin) end end desc "Decodes a VIN"