class Overcommit::Hook::PreCommit::LicenseFinder
Runs LicenseFinder
if any of your package manager declaration files have changed See more about LicenseFinder
at github.com/pivotal/LicenseFinder
Public Instance Methods
Source
# 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