Skip to content

Commit

Permalink
Make curl progress for repo check silent
Browse files Browse the repository at this point in the history
  • Loading branch information
googleson78 committed Oct 18, 2021
1 parent 0dcedeb commit 98d42e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make_student_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ repo_name="fp-lab-2021-22-tasks-${user}"
auth_header="Authorization: token ${GITHUB_TOKEN}"

# grep here so we don't depend on jq ;/
repo_not_found=$(curl \
repo_not_found=$(curl -s \
-H "Accept: application/vnd.github.v3+json" \
-H "${auth_header}" \
"https://api.github.com/repos/googleson78/$repo_name" | grep -o "Not Found" || true)
Expand Down

0 comments on commit 98d42e6

Please sign in to comment.