There was an error while loading. Please reload this page.
1 parent 914515b commit a779bc7Copy full SHA for a779bc7
1 file changed
.github/scripts/checkstyle-pr.sh
@@ -82,6 +82,13 @@ for module in "${!module_files[@]}"; do
82
fi
83
84
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
92
set +e
93
(cd "$module" && mvn checkstyle:check \
94
-Dcheckstyle.config.location=../checkstyle/huawei-checkstyle.xml \
0 commit comments