Method: Overcommit::Hook::PreCommit::LicenseFinder#run

Defined in:
lib/overcommit/hook/pre_commit/license_finder.rb

#runObject



7
8
9
10
11
12
# File 'lib/overcommit/hook/pre_commit/license_finder.rb', line 7

def run
  result = execute(command)
  return :pass if result.success?
  output = result.stdout + result.stderr
  [:fail, output]
end