jish/pre-commit

View on GitHub
lib/plugins/pre_commit/checks/pry.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'pre-commit/checks/grep'

module PreCommit
  module Checks
    class Pry < Grep

      def message
        "binding.pry found:"
      end

      def pattern
        "binding\.(remote_)?pry"
      end

      def self.description
        "Finds files with 'binding.pry'."
      end

    end
  end
end