Merge pull request #1669 from Neilpang/dev

check UNABLE_TO_AUTHENTICATE
This commit is contained in:
neil authored and GitHub committed 2018-06-12 21:23:33 +08:00
commit 8697972d5d
1 file changed
+4
+4
View File
@@ -168,5 +168,9 @@ _gd_rest() {
return 1
fi
_debug2 response "$response"
if _contains "$response" "UNABLE_TO_AUTHENTICATE"; then
_err "It seems that your api key or secret is not correct."
return 1
fi
return 0
}
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.