未验证 提交 926f4645 编写于 作者: C chentianyu03 提交者: GitHub

fix path error (#2586)

上级 8481612e
......@@ -44,7 +44,7 @@ function check_style(){
pre-commit install
commit_files=on
for file_name in `git diff --numstat upstream/$BRANCH| awk '{print $NF}'`;do
if ! pre-commit run --files $file_name ; then
if ! pre-commit run --files ../$file_name ; then
git diff
commit_files=off
fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册