Skip to content

Commit a779bc7

Browse files
committed
fix:code check test
1 parent 914515b commit a779bc7

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/scripts/checkstyle-pr.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ for module in "${!module_files[@]}"; do
8282
fi
8383

8484
echo " - 生成 XML 报告..."
85+
config_path="../checkstyle/huawei-checkstyle.xml"
86+
echo " Checkstyle 配置文件: $(pwd)/$config_path"
87+
if [ -f "$config_path" ]; then
88+
echo " ✅ 配置文件存在"
89+
else
90+
echo " ❌ 配置文件不存在!"
91+
fi
8592
set +e
8693
(cd "$module" && mvn checkstyle:check \
8794
-Dcheckstyle.config.location=../checkstyle/huawei-checkstyle.xml \

0 commit comments

Comments
 (0)