Skip to content

Commit 5c02594

Browse files
committed
use pmd6 for init without token
1 parent 717a469 commit 5c02594

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

integration-tests/run.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,13 @@ normalize_config() {
5050
' "$file" | sort
5151
;;
5252
xml)
53-
# For XML files, ignore order of <rule ref=.../> lines for comparison
53+
# For XML files, ignore order of <rule ref=.../> lines and strip leading spaces
5454
awk '
5555
BEGIN { n = 0; end = ""; }
5656
/^ *<rule ref=/ { rules[++n] = $0; next }
5757
/^ *<\/ruleset>/ { end = $0; next }
58-
{ print }
58+
{ gsub(/^ +/, "", $0); print }
5959
END {
60-
# Sort and print rules
6160
n = asort(rules, sorted_rules)
6261
for (i = 1; i <= n; i++) print sorted_rules[i]
6362
if (end) print end

0 commit comments

Comments
 (0)