Module: Avm::Git::Issue::Complete::GitSubrepos

Defined in:
lib/avm/git/issue/complete/git_subrepos.rb

Instance Method Summary collapse

Instance Method Details

#git_subrepos_resultObject



11
12
13
14
15
16
17
18
# File 'lib/avm/git/issue/complete/git_subrepos.rb', line 11

def git_subrepos_result
  return ::Avm::Result.error('Unclean workspace') unless clean_workspace?

  infom 'Checking Git subrepos...'
  r = ::Avm::Git::SubrepoChecks.new(::EacGit::Local.new(launcher_git)).add_all_subrepos
  r.check_remote = true
  r.result
end