From 1e962f5601b3b1fdb714fcbed8ab188f79314999 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 16 Jul 2022 13:55:54 -0700 Subject: [PATCH] Formatting --- .ci-scripts/lint.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.ci-scripts/lint.sh b/.ci-scripts/lint.sh index ba7666f..fa2a2af 100644 --- a/.ci-scripts/lint.sh +++ b/.ci-scripts/lint.sh @@ -8,24 +8,23 @@ jq --null-input --arg yaml "$1" '.content=$yaml' \ --data @- \ -o result.json -echo "" -echo "" +echo "**********************************************************" echo "MERGED YAML:" jq --raw-output '.merged_yaml' < result.json -echo "" +echo "**********************************************************" echo "ERRORS:" jq '.errors' < result.json -echo "" +echo "**********************************************************" echo "WARNINGS:" jq '.warnings' < result.json -echo "" +echo "**********************************************************" echo "IS VALID:" jq '.valid' < result.json -if [ "true" == "$(jq '.valid' < result.json)" ]; then +if [[ "$(jq '.valid' < result.json)" == "true" ]]; then exit 0 else exit 1 -- GitLab