File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,19 @@ URL="https://api.github.com/orgs/$1/teams/$2/members"
2626echo $URL
2727
2828# TODO if failed us QA as teams
29- curl -X GET -u $GITHUB_TOKEN :x-oauth-basic $URL | python -mjson.tool > members.json
29+ curl -X GET -u $GITHUB_TOKEN :x-oauth-basic $URL -o members.json
3030
3131cat members.json | grep ' "message": "Not Found"'
3232GOT_QA_TEAM=$?
3333
3434if [ $GOT_QA_TEAM -eq 0 ]; then
3535 rm members.json
3636 URL=" https://api.github.com/orgs/$1 /teams/$3 /members"
37- curl -X GET -u $GITHUB_TOKEN :x-oauth-basic $URL | python3 -mjson.tool > members.json
37+ curl -X GET -u $GITHUB_TOKEN :x-oauth-basic $URL -o members.json
3838 echo " {}" > pm_members.json
3939else
4040 URL=" https://api.github.com/orgs/$1 /teams/$3 /members"
41- curl -X GET -u $GITHUB_TOKEN :x-oauth-basic $URL | python3 -mjson.tool > pm_members.json
41+ curl -X GET -u $GITHUB_TOKEN :x-oauth-basic $URL -o pm_members.json
4242fi
4343
4444
You can’t perform that action at this time.
0 commit comments