fix: add quoting to variables for shellcheck compliance
All checks were successful
Bash Syntax Check / syntax-check (push) Successful in 2s
All checks were successful
Bash Syntax Check / syntax-check (push) Successful in 2s
This commit is contained in:
@@ -34,4 +34,4 @@ else
|
||||
fi
|
||||
|
||||
#build the post form and send it to the slack url
|
||||
curl -X POST --data-urlencode 'payload={"channel": "#'$SLACKCH'", "username": "'$SLACKUSER'", "text": "'"$1"'", "icon_emoji": "'$SLACKICON'"}' $SLACKURL -o /dev/null >/dev/null 2>&1
|
||||
curl -X POST --data-urlencode 'payload={"channel": "#'"$SLACKCH"'", "username": "'"$SLACKUSER"'", "text": "'"$1"'", "icon_emoji": "'"$SLACKICON"'"}' "$SLACKURL" -o /dev/null >/dev/null 2>&1
|
||||
|
||||
Reference in New Issue
Block a user