Skip to content

Commit

Permalink
fix vars in config?
Browse files Browse the repository at this point in the history
  • Loading branch information
UplandJacob2 authored Nov 12, 2024
1 parent d89e43b commit 13cc626
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mc-all-platform-velocity/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ logLine
eag_config=$(echo "$EAG_CONFIG" | jq -r '
to_entries | .[] | "\(.key): \(
if .value | type == "string" then
"\"\(.value)\""
(if .value | test("^\\$\\{.*\\}$")
.value
else
"\"\(.value)\""
end)
elif .value | type == "array" then
(.value | map("\n - \(.)") | join("\n"))
elif .value | type == "object" then
Expand Down

0 comments on commit 13cc626

Please sign in to comment.