From bda063f7a9b68234a9eff272ae2904cb4484583e Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Tue, 23 Oct 2018 14:14:54 +0800 Subject: [PATCH] chore: update filter --- .githooks/pre-commit/filter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.githooks/pre-commit/filter.sh b/.githooks/pre-commit/filter.sh index 3156a8bd..187f32c1 100755 --- a/.githooks/pre-commit/filter.sh +++ b/.githooks/pre-commit/filter.sh @@ -1,8 +1,8 @@ #!/bin/sh EMAIL=$(git config user.email) -if [[ $EMAIL == *"alibaba-inc"* ]] +if [[ $EMAIL == *"alibaba-inc"* ]] || [[ $EMAIL == *"taobao"* ]] then -echo "email with *.alibaba-inc.com are not allowed"; +echo "email with *.alibaba-inc.com or *.taobao.com are not allowed"; exit 1; else echo "";