lib/plugins/pre_commit/checks/gemfile_path.rb in pre-commit-0.16.3 vs lib/plugins/pre_commit/checks/gemfile_path.rb in pre-commit-0.17.0
- old
+ new
@@ -14,9 +14,13 @@
def pattern
"'path:|:path\\s*=>'"
end
+ def extra_grep
+ " | grep -v '#'"
+ end
+
def self.description
"Checks 'Gemfile' for local paths."
end
end