Skip to content

Commit 3c3a9ff

Browse files
committed
fix:code check test
1 parent 2bf9073 commit 3c3a9ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/scripts/checkstyle-pr.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ for module in "${!module_files[@]}"; do
9090
ls -l $PROJECT_ROOT/checkstyle/huawei-checkstyle.xml && \
9191
mvn checkstyle:check \
9292
-Dcheckstyle.config.location=$PROJECT_ROOT/checkstyle/huawei-checkstyle.xml \
93+
-Dcheckstyle.outputFormat=xml \
94+
-Dcheckstyle.outputFile=$module/target/checkstyle-result.xml \
9395
-Dcheckstyle.violationSeverity=warning)
9496
if [ $? -ne 0 ]; then
9597
echo " ⚠️ 模块 $module 的 Checkstyle 检查失败(但继续)"

0 commit comments

Comments
 (0)