Skip to content

Commit ae9f7c9

Browse files
committed
added drupal files :)_
1 parent 878d945 commit ae9f7c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-commit.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
FILES_TO_CHECK=$(git status | grep -e '\#.*\(modified\|new file\)'| grep ".php" | awk '{print $NF}')
3+
FILES_TO_CHECK=$(git status | grep -e '\#.*\(modified\|new file\)'| egrep "(.php|.module|.inc|.install)" | awk '{print $NF}')
44
ERRORS=""
55

66
echo -e "\n=============="

0 commit comments

Comments
 (0)