Unverified Commit 99793bb2 authored by Honza Hommer's avatar Honza Hommer
Browse files

chore: remove shellcheck disable

parent 24925a17
......@@ -74,8 +74,7 @@ teams_send() {
fi
_data="$_data\"text\": \"$_content\"}"
if _post "$_data" "$TEAMS_WEBHOOK_URL"; then
# shellcheck disable=SC2154
if response=$(_post "$_data" "$TEAMS_WEBHOOK_URL"); then
if ! _contains "$response" error; then
_info "teams send success."
return 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment