未验证 提交 8bf7f638 编写于 作者: N Nyakku Shigure 提交者: GitHub

[CodeStyle] fix renamed files not being monitored by Codestyle Check (#48892)

上级 b5ab8979
...@@ -29,7 +29,7 @@ if ! [[ $(python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}') -ge 36 ...@@ -29,7 +29,7 @@ if ! [[ $(python -V 2>&1 | awk '{print $2}' | awk -F '.' '{print $1$2}') -ge 36
exit 1 exit 1
fi fi
diff_files=$(git diff --numstat ${BRANCH} | awk '{print $NF}') diff_files=$(git diff --name-only --diff-filter=ACMR ${BRANCH})
num_diff_files=$(echo "$diff_files" | wc -l) num_diff_files=$(echo "$diff_files" | wc -l)
echo -e "diff files between pr and ${BRANCH}:\n${diff_files}" echo -e "diff files between pr and ${BRANCH}:\n${diff_files}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册