aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index cb39ac365..ea2bf80e7 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -225,7 +225,7 @@ A good way to ensure no new warnings are introduced is to use a Git
before creating a commit:
#!/bin/sh
- git diff --cached --name-only | grep '.hs$' | xargs hlint
+ git diff --cached --name-only | grep '\.hs$' | xargs hlint
Saving this to `.git/hooks/pre-commit`, and making the script
executable, will prevent accidental introduction of potentially