Method: Bundler::Thor::Base::ClassMethods#exit_on_failure?

Defined in:
lib/bundler/vendor/thor/lib/thor/base.rb

#exit_on_failure?Boolean

A flag that makes the process exit with status 1 if any error happens.

Returns:

  • (Boolean)
[View source]

628
629
630
631
# File 'lib/bundler/vendor/thor/lib/thor/base.rb', line 628

def exit_on_failure?
  Bundler::Thor.deprecation_warning "Bundler::Thor exit with status 0 on errors. To keep this behavior, you must define `exit_on_failure?` in `#{self.name}`"
  false
end