diff --git a/scripts/githooks/pre-commit b/scripts/githooks/pre-commit index d06cd5e..9474bdd 100755 --- a/scripts/githooks/pre-commit +++ b/scripts/githooks/pre-commit @@ -1,11 +1,6 @@ #!/bin/bash -env |grep -q "is_out_net" -if [ $? -eq 0 ]; then - exit 0 -fi - -if [[ -f ".nosync" ]]; then +if [[ ! -d "../client_proto/resources" ]]; then echo "nosync proto" exit 0 fi