Sha256: 7abe76a75b216f55e44716be174b995b5e77710080f692b9d38313bf6d047363
Contents?: true
Size: 442 Bytes
Versions: 19
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true module Overcommit::Hook::PreCommit # Runs `chamber secure` against any modified Chamber settings files. # # @see https://github.com/thekompanee/chamber class ChamberSecurity < Base def run result = execute(command, args: applicable_files) return :pass if result.stdout.empty? [:fail, "These settings appear to need to be secured but were not: #{result.stdout}"] end end end
Version data entries
19 entries across 19 versions & 2 rubygems