chore(script/prepare-commit-msg): whitelist extensions to be autoremoved
This commit is contained in:
parent
f4ea667da6
commit
9b4fcf572c
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ file=$(echo "$diff" | sort -n -k 3 | tail -n 1)
|
|||
# extract filename
|
||||
file=$(echo "$file" | cut -f 2 -d' ')
|
||||
file="${file#'src/'}"
|
||||
file="${file%.*}"
|
||||
file="${file%.(cpp|h|md|lean)}"
|
||||
case $file in
|
||||
tests/*)
|
||||
type=test
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue