lib/s3_secure/command.rb in s3-secure-0.4.2 vs lib/s3_secure/command.rb in s3-secure-0.5.0

- old
+ new

@@ -75,8 +75,15 @@ # meant to be overriden def website "" end + + # https://github.com/erikhuda/thor/issues/244 + # Deprecation warning: Thor exit with status 0 on errors. To keep this behavior, you must define `exit_on_failure?` in `Lono::CLI` + # You can silence deprecations warning by setting the environment variable THOR_SILENCE_DEPRECATION. + def exit_on_failure? + true + end end end end