Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
99793bb2
Unverified
Commit
99793bb2
authored
May 09, 2020
by
Honza Hommer
Browse files
chore: remove shellcheck disable
parent
24925a17
Changes
1
Hide whitespace changes
Inline
Side-by-side
notify/teams.sh
View file @
99793bb2
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment