mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
githooks: do not run syntax checks on files being deleted
This commit is contained in:
parent
90ac5d3fa8
commit
14b702b23b
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ else
|
||||||
RB_FILES=
|
RB_FILES=
|
||||||
|
|
||||||
for f in $files; do
|
for f in $files; do
|
||||||
|
test -e $f || continue
|
||||||
case $f in
|
case $f in
|
||||||
*.py)
|
*.py)
|
||||||
PY_FILES+=" $f"
|
PY_FILES+=" $f"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue