Class: Avm::Tools::Runner::Git::RevisionsTest
- Defined in:
- lib/avm/tools/runner/git/revisions_test.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/avm/tools/runner/git/revisions_test.rb', line 17 def run fatal_error('Repository is dirty') if runner_context.call(:git).dirty? return_to_branch_on_end do infov 'Revisions found', revisions.count if revision_with_error warn("First revision with error: #{revision_with_error}") else success('No error found in revisions') end end end |