Module: Hephaestus::ExitOnFailure
- Extended by:
- ActiveSupport::Concern
- Included in:
- AppGenerator, Generators::Base
- Defined in:
- lib/hephaestus/exit_on_failure.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#bundle_command ⇒ Object
11 12 13 14 |
# File 'lib/hephaestus/exit_on_failure.rb', line 11 def bundle_command(*) super exit(false) if $CHILD_STATUS.exitstatus.nonzero? # rubocop:disable Rails/Exit end |