mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-29 18:27:58 +08:00
reset precheck.sh
This commit is contained in:
parent
1a7cc88d38
commit
ee58d3be12
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
STAGED_GO_FILES=$(git diff --name-only | grep ".go$")
|
||||
STAGED_GO_FILES=$(git diff --cached --name-only | grep ".go$")
|
||||
|
||||
if [[ "$STAGED_GO_FILES" = "" ]]; then
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user