Sha256: 2895697565e3fd2bd0f13ba013b115ed392b2d14ffaaeffaf2657ded172dd948
Contents?: true
Size: 425 Bytes
Versions: 12
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true module Overcommit::Hook::PreCommit # Runs LicenseFinder if any of your package manager declaration files have changed # See more about LicenseFinder at https://github.com/pivotal/LicenseFinder class LicenseFinder < Base def run result = execute(command) return :pass if result.success? output = result.stdout + result.stderr [:fail, output] end end end
Version data entries
12 entries across 12 versions & 2 rubygems