Skip to content

Commit

Permalink
Shellcheck warning fixes for platform
Browse files Browse the repository at this point in the history
Signed-off-by: Judy Ng <[email protected]>
  • Loading branch information
judysng committed Jan 8, 2024
1 parent 448375f commit a475af1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ _validate_json() {
if [[ -z "${json_param}" ]]; then
_fail "${message}. Empty JSON."
fi
if ! $(jq -e . >/dev/null 2>&1 <<<"${json_param}"); then
if ! jq -e . >/dev/null 2>&1 <<<"${json_param}"; then
_fail "${message}. Wrong JSON."
fi
}
Expand Down

0 comments on commit a475af1

Please sign in to comment.