Class: Avm::Tools::Runner::Git::Subrepo::Check

Inherits:
EacRubyUtils::Console::DocoptRunner
  • Object
show all
Includes:
EacCli::DefaultRunner
Defined in:
lib/avm/tools/runner/git/subrepo/check.rb

Instance Method Summary collapse

Instance Method Details

#runObject



24
25
26
27
28
29
30
# File 'lib/avm/tools/runner/git/subrepo/check.rb', line 24

def run
  subrepo_checks.show_result
  return if options.fetch('--no-error')
  return unless subrepo_checks.result.error?

  fatal_error 'Failed'
end