Method: PreCommit::Runner#run

Defined in:
lib/pre-commit/runner.rb

#run(*args) ⇒ Object



23
24
25
26
27
28
# File 'lib/pre-commit/runner.rb', line 23

def run(*args)
  set_staged_files(*args)
  run_single(:warnings)
  run_single(:checks  ) or return false
  true
end