Class: Avm::Projects::Stereotypes::Git::Update::Subrepo

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/projects/stereotypes/git/update/subrepo.rb

Constant Summary collapse

TRANSLATE_CLASS =
self

Instance Method Summary collapse

Instance Method Details

#runObject



23
24
25
26
27
28
29
30
31
32
# File 'lib/avm/projects/stereotypes/git/update/subrepo.rb', line 23

def run
  run_banner
  if base_commit.sha1 == pull_commit.sha1
    infom 'No new commit (No changes)'
  elsif fix_message.present?
    on_fix_message_present
  else
    warn 'No fix message found'
  end
end