Fix for possibly undefined variable in CI script
This commit is contained in:
parent
7fa81a514f
commit
9593eec847
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -eux
|
||||
|
||||
if [ -z "$SLACK_WEBHOOK_URL" ]; then
|
||||
if [ -z "${SLACK_WEBHOOK_URL:-}" ]; then
|
||||
echo "INFO: Variable SLACK_WEBHOOK_URL is undefined"
|
||||
exit 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue