Sha256: fe3c27e162a0b5d3041541e6585c99a0d93c9b151776a9a3b32c641968e2e5f6
Contents?: true
Size: 529 Bytes
Versions: 34
Compression:
Stored size: 529 Bytes
Contents
require 'plugins/pre_commit/configuration/providers/git' module PreCommit class Configuration class Providers class GitOld < Git def self.priority 11 end def [](name) value = super(name) if name == :checks && value && ! value.kind_of?(Array) then value = value.chomp.split(/,\s*/).map(&:to_sym) || [] update(name, value) unless value.empty? end value end end end end end
Version data entries
34 entries across 34 versions & 1 rubygems