We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 959b2c7 commit 2ffef39Copy full SHA for 2ffef39
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