Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
chore: update filter
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Oct 23, 2018
1 parent 32d4d50 commit bda063f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .githooks/pre-commit/filter.sh
Original file line number Diff line number Diff line change
@@ -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 "";
Expand Down

0 comments on commit bda063f

Please sign in to comment.