There was an error while loading. Please reload this page.
1 parent a5d543b commit 35bb29eCopy full SHA for 35bb29e
1 file changed
.github/scripts/checkstyle-pr.sh
@@ -85,10 +85,10 @@ for module in "${!module_files[@]}"; do
85
set +e
86
(cd "$module" && \
87
echo " Current directory: $(pwd)" && \
88
- echo " Config file path: ../checkstyle/huawei-checkstyle.xml" && \
89
- ls -l ../checkstyle/huawei-checkstyle.xml && \
+ echo " Config file path: ../codecheck/codecheck.xml" && \
+ ls -l $(pwd)/codecheck/codecheck.xml && \
90
mvn checkstyle:check \
91
- -Dcheckstyle.config.location=/codecheck/codecheck.xml \
+ -Dcheckstyle.config.location=$(pwd)/codecheck/codecheck.xml \
92
-Dcheckstyle.includes="$file_list" \
93
-Dcheckstyle.violationSeverity=warning)
94
if [ $? -ne 0 ]; then
0 commit comments