We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c20cdd commit 308c949Copy full SHA for 308c949
1 file changed
src/lib/util.sh
@@ -467,7 +467,7 @@ explore() {
467
local is_repo=false
468
local is_user=false
469
local got_orgs=false
470
- [[ "$node" =~ .*\/.* ]] && is_repo=true || is_user=true
+ [[ ! "$node" =~ .*\/.* ]] || is_repo=true
471
[ "$is_repo" = true ] && local graph=("stargazers" "watchers" "forks" "collaborators") || local graph=("followers" "following" "people")
472
[ -z "$2" ] || graph=("$2")
473
0 commit comments