fix shellcheck warnings.

This commit is contained in:
neilpang committed 2016-11-12 00:09:45 +08:00
1 parent e9f9f515bd
commit 69925ce823
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -189,7 +189,7 @@ _rest() {
_H4="Content-Type: application/json"
if [ "$data" ]; then
response="$(_post "$data" "$url" "" $m)"
response="$(_post "$data" "$url" "" "$m")"
else
response="$(_get "$url")"
fi
+1 -1
View File
@@ -102,7 +102,7 @@ _gd_rest() {
if [ "$data" ]; then
_debug data "$data"
response="$(_post "$data" "$GD_Api/$ep" "" $m)"
response="$(_post "$data" "$GD_Api/$ep" "" "$m")"
else
response="$(_get "$GD_Api/$ep")"
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.