Change command check to fully pass shellcheck

This commit is contained in:
aattww committed 2020-04-06 01:13:59 +03:00
1 parent 8400d1e60e
commit c064b3896a
1 file changed
+1 -3
+1 -3
View File
@@ -120,9 +120,7 @@ _joker_rest() {
data="$1"
_debug data "$data"
response="$(_post "$data" "$JOKER_API" "" "POST")"
if [ "$?" != "0" ]; then
if ! response="$(_post "$data" "$JOKER_API" "" "POST")"; then
_err "Error POSTing"
return 1
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.