lib/rsmp/cli.rb in rsmp-0.9.0 vs lib/rsmp/cli.rb in rsmp-0.9.1
- old
+ new
@@ -159,7 +159,12 @@
sxl = RSMP::Convert::Import::YAML.read options[:in]
RSMP::Convert::Export::JSONSchema.write sxl, options[:out]
end
+ # avoid Thor returnin 0 on failures, see
+ # https://github.com/coinbase/salus/pull/380/files
+ def self.exit_on_failure?
+ true
+ end
end
end
\ No newline at end of file