Skip to content

Commit c45ca07

Browse files
committed
Show content of CSV files
1 parent f6ff227 commit c45ca07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/commit_helper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ git status -su | tr \\r \\n | while read -r line;
5959
do
6060
FILE=$(echo "$line" | awk '{$1 = ""; print substr($0,2)}')
6161
STATUS=$(echo "$line" | awk '{print substr($1,0,2)}')
62-
FILE_MIME=$(file --mime-type "$FILE" | grep -E "text|json" -c)
62+
FILE_MIME=$(file --mime-type "$FILE" | grep -E "text|json|csv" -c)
6363

6464
PROCESSED_FILES+=1
6565

0 commit comments

Comments
 (0)