This commit is contained in:
neilpang committed 2016-11-11 22:10:14 +08:00
1 parent b97e140389
commit a8b564fa64
1 file changed
+1 -1
+1 -1
View File
@@ -249,7 +249,7 @@ _exists() {
fi fi
if command >/dev/null 2>&1; then if command >/dev/null 2>&1; then
command -v "$cmd" >/dev/null 2>&1 command -v "$cmd" >/dev/null 2>&1
elif which >/dev/null 2>&1; elif which >/dev/null 2>&1; then
which "$cmd" >/dev/null 2>&1 which "$cmd" >/dev/null 2>&1
fi fi
ret="$?" ret="$?"
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.