Class: Avm::Tools::Runner::Git::AutoCommit
- Defined in:
- lib/avm/tools/runner/git/auto_commit.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/avm/tools/runner/git/auto_commit.rb', line 21 def run runner_context.call(:git).command('reset', 'HEAD').system! format_files files.each do |file| ::Avm::Git::FileAutoFixup.new(runner_context.call(:git), file, rules).run end end |