diff --git a/tools/check_api_approvals.sh b/tools/check_api_approvals.sh index ce36f6e40260dc4b313b631025204b6330e14d29..db5d1273a9a73f64d96addd1fc816c3d63a27131 100644 --- a/tools/check_api_approvals.sh +++ b/tools/check_api_approvals.sh @@ -131,6 +131,7 @@ fi if [ -n "${echo_list}" ];then echo "****************" echo -e ${echo_list[@]} + git diff -U0 upstream/$BRANCH |grep "+" |grep -v "PADDLE_ENFORCE_" |grep "PADDLE_ENFORCE" echo "There are ${failed_num} approved errors." echo "****************" exit 1