lib/plugins/pre_commit/checks/gemfile_path.rb in pre-commit-0.19.0 vs lib/plugins/pre_commit/checks/gemfile_path.rb in pre-commit-0.20.0

- old
+ new

@@ -7,18 +7,18 @@ def files_filter(staged_files) staged_files.grep(/^Gemfile$/) end def message - "local path found in Gemfile:\n" + "local path found in Gemfile:" end def pattern - "'path:|:path\\s*=>'" + "path:|:path\\s*=>" end def extra_grep - " | grep -v '#'" + %w{-v #} end def self.description "Checks 'Gemfile' for local paths." end