Sha256: 04c31ace94a673715752b30f70eeb7c7c7dafa8f00b55dde03cf7e4681c18287
Contents?: true
Size: 424 Bytes
Versions: 19
Compression:
Stored size: 424 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
19 entries across 19 versions & 2 rubygems