There was an error while loading. Please reload this page.
1 parent 2bf9073 commit 3c3a9ffCopy full SHA for 3c3a9ff
1 file changed
.github/scripts/checkstyle-pr.sh
@@ -90,6 +90,8 @@ for module in "${!module_files[@]}"; do
90
ls -l $PROJECT_ROOT/checkstyle/huawei-checkstyle.xml && \
91
mvn checkstyle:check \
92
-Dcheckstyle.config.location=$PROJECT_ROOT/checkstyle/huawei-checkstyle.xml \
93
+ -Dcheckstyle.outputFormat=xml \
94
+ -Dcheckstyle.outputFile=$module/target/checkstyle-result.xml \
95
-Dcheckstyle.violationSeverity=warning)
96
if [ $? -ne 0 ]; then
97
echo " ⚠️ 模块 $module 的 Checkstyle 检查失败(但继续)"
0 commit comments