Skip to content

Commit

Permalink
Simplify message
Browse files Browse the repository at this point in the history
  • Loading branch information
Rindrics committed Jun 15, 2024
1 parent a283b1e commit b3574ac
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/validate-param.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ echo "${PARAMS}" | jq -c 'to_entries | .[]' | while read -r step; do
fi

if [ "${ACTUAL_VALUE}" != "${EXPECTED_VALUE}" ]; then
echo "The parameter ${PARAM} for step ${STEP_ID} is not set to ${EXPECTED_VALUE}. Current value: ${ACTUAL_VALUE}"
echo "Unexpected \"${PARAM}\" for step \"${STEP_ID}\""
echo " expected: ${EXPECTED_VALUE}"
echo " got: ${ACTUAL_VALUE}"
exit 1
fi

echo "The parameter ${PARAM} for step ${STEP_ID} is correctly set to ${EXPECTED_VALUE}."
echo "Passed"
done
done

0 comments on commit b3574ac

Please sign in to comment.