mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-10 17:12:07 +08:00
chore: remove shellcheck disable
This commit is contained in:
@@ -74,8 +74,7 @@ teams_send() {
|
|||||||
fi
|
fi
|
||||||
_data="$_data\"text\": \"$_content\"}"
|
_data="$_data\"text\": \"$_content\"}"
|
||||||
|
|
||||||
if _post "$_data" "$TEAMS_WEBHOOK_URL"; then
|
if response=$(_post "$_data" "$TEAMS_WEBHOOK_URL"); then
|
||||||
# shellcheck disable=SC2154
|
|
||||||
if ! _contains "$response" error; then
|
if ! _contains "$response" error; then
|
||||||
_info "teams send success."
|
_info "teams send success."
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user