We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc92094 commit d8a4e47Copy full SHA for d8a4e47
notify/slack_app.sh
@@ -32,6 +32,7 @@ slack_app_send() {
32
33
SLACK_APP_API_URL="https://slack.com/api/chat.postMessage"
34
if _post "$_data" "$SLACK_APP_API_URL" "" "POST" "application/json; charset=utf-8"; then
35
+ # shellcheck disable=SC2154
36
SLACK_APP_RESULT_OK=$(echo "$response" | _egrep_o 'ok" *: *true')
37
if [ "$?" = "0" ] && [ "$SLACK_APP_RESULT_OK" ]; then
38
_info "slack send success."
0 commit comments