mirror of
https://github.com/TrentSPalmer/hugo_themes_report.git
synced 2024-12-04 16:41:31 -08:00
fix star_gazers assignment for theme repos which are forks
This commit is contained in:
parent
aa36b4e6da
commit
42d9dff5d4
@ -43,8 +43,8 @@ do
|
|||||||
|
|
||||||
stars=""
|
stars=""
|
||||||
stars=$(curl -s "${REPOS_API_URL}/${hugo_theme_user}/${hugo_theme}" \
|
stars=$(curl -s "${REPOS_API_URL}/${hugo_theme_user}/${hugo_theme}" \
|
||||||
| grep stargazers_count | awk '{print $2}' | sed -e 's/,$//g' \
|
| grep stargazers_count | head -1 | awk '{print $2}' \
|
||||||
| awk '{print $NF}')
|
| sed -e 's/,$//g')
|
||||||
[[ -n "${stars}" ]] || continue
|
[[ -n "${stars}" ]] || continue
|
||||||
|
|
||||||
last_commit_date=""
|
last_commit_date=""
|
||||||
|
Loading…
Reference in New Issue
Block a user