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 17, 2024
1 parent e323a7a commit 717373a
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 717373a

Please sign in to comment.