From b44f1b9c11a0bdf2711a8764343b37b5acb111cb Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 16 Dec 2019 16:15:34 +0800 Subject: [PATCH] 1 --- scripts/githooks/pre-commit | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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