fix deactivate function

This commit is contained in:
neilpang committed 2016-12-09 22:20:38 +08:00
1 parent 03d3f3afc3
commit 947d14ffeb
1 file changed
+1 -1
+1 -1
View File
@@ -3469,7 +3469,7 @@ _deactivate() {
return 1
fi
entry="$(printf "%s\n" "$response" | _egrep_o '{"type":".*","status":"valid","uri"[^}]*')"
entry="$(printf "%s\n" "$response" | _egrep_o '{"type":"[^"]*","status":"valid","uri"[^}]*')"
_debug entry "$entry"
if [ -z "$entry" ]; then
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.