Skip to content

Commit 3df2942

Browse files
committed
Make --raw work with members command
1 parent 75aad7f commit 3df2942

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/git-hub.d/git-hub-member

+4-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ set -e
55
command:members() {
66
require-auth
77
get-args team_id
8+
local args=()
9+
"$raw_output" && args+=(-r)
810
if [[ ! $team_id =~ ^[0-9]+$ ]]; then
9-
git hub org-members "$team_id"
11+
git hub org-members "${args[@]}" "$team_id"
1012
return
1113
else
12-
git hub team-members "$team_id"
14+
git hub team-members "${args[@]}" "$team_id"
1315
fi
1416
}
1517

0 commit comments

Comments
 (0)