mirror of
https://github.com/rust-unofficial/awesome-rust
synced 2024-11-21 19:33:10 +00:00
Use zero stars for archived repos
This commit is contained in:
parent
f977e3a24b
commit
30b7d33e89
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ async fn get_stars(github_url: &str) -> Option<u32> {
|
|||
};
|
||||
if data.archived {
|
||||
warn!("{} is archived, so ignoring stars", github_url);
|
||||
return None;
|
||||
return Some(0);
|
||||
}
|
||||
return Some(data.stargazers_count);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue