fix error message.

This commit is contained in:
neil committed 2016-05-30 22:06:30 +08:00
1 parent b7ec6789b3
commit 6e18034333
1 file changed
+1 -1
+1 -1
View File
@@ -1449,7 +1449,7 @@ issue() {
fi
if [ "$status" = "invalid" ] ; then
error="$(echo $response | egrep -o '"error":{[^}]*}')"
error="$(echo $response | tr -d "\r\n" | egrep -o '"error":{[^}]*}')"
_debug2 error "$error"
errordetail="$(echo $error | grep -o '"detail": *"[^"]*"' | cut -d '"' -f 4)"
_debug2 errordetail "$errordetail"
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.