Module: Suspenders::ExitOnFailure
- Extended by:
- ActiveSupport::Concern
- Included in:
- AppGenerator, Generators::Base
- Defined in:
- lib/suspenders/exit_on_failure.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#bundle_command ⇒ Object
8 9 10 11 |
# File 'lib/suspenders/exit_on_failure.rb', line 8 def bundle_command(*) super exit(false) if $CHILD_STATUS.exitstatus.nonzero? end |