We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b76caa1 commit f425b57Copy full SHA for f425b57
src/ci/scripts/setup-environment.sh
@@ -10,7 +10,7 @@ source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"
10
11
# Load extra environment variables
12
vars="${EXTRA_VARIABLES-}"
13
-echo "${vars}" | jq '' >/dev/null # Validate JSON and exit on errors
+echo "${vars}" | jq '.' >/dev/null # Validate JSON and exit on errors
14
for key in $(echo "${vars}" | jq "keys[]" -r); do
15
# On Windows, for whatever reason, $key contains the BOM character in it,
16
# and that messes up `jq ".${key}"`. This line strips the BOM from the key.
0 commit comments