Skip to content

Commit 850fbe5

Browse files
committed
fx script?
1 parent 562099c commit 850fbe5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

integration-tests/run.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ normalize_config() {
2323
# For YAML files, use yq to sort
2424
yq e '.' "$file" | sort
2525
;;
26-
rc|conf|ini|xml)
26+
rc|conf|ini)
2727
# For other config files, sort values after '=' and keep other lines
2828
awk -F'=' '
2929
/^[^#].*=.*,/ {
@@ -49,6 +49,10 @@ normalize_config() {
4949
{ print }
5050
' "$file" | sort
5151
;;
52+
xml)
53+
# For XML files, do not sort, just output as-is
54+
cat "$file"
55+
;;
5256
*)
5357
# For other files, just sort
5458
sort "$file"

0 commit comments

Comments
 (0)