Sha256: 549c7ec8305dec84a096bca9ba3456a29c4ff390f3c616ab8a1d8aacc65d249f
Contents?: true
Size: 265 Bytes
Versions: 5
Compression:
Stored size: 265 Bytes
Contents
module PreCommit class PryCheck def self.call(staged_files) return if staged_files.empty? result = `#{Utils.grep} binding.pry #{staged_files.join(" ")}`.strip return unless $?.success? "binding.pry found:\n#{result}" end end end
Version data entries
5 entries across 5 versions & 1 rubygems