Skip to content

Commit

Permalink
fix: repos filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
vladkens committed Aug 17, 2024
1 parent 617023e commit ec99e75
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ghstats"
version = "0.3.0"
version = "0.3.1"
edition = "2021"

[lints.rust]
Expand All @@ -9,7 +9,7 @@ dead_code = "allow"
[dependencies]
axum = "0.7.5"
maud = { version = "0.26.0", features = ["axum"] }
reqwest = {version = "0.12.5", features = ["json"] }
reqwest = { version = "0.12.5", features = ["json"] }
serde_json = "1.0.120"
serde = { version = "1.0.204", features = ["serde_derive"] }
tokio = { version = "1.38.1", features = ["full"] }
Expand Down
2 changes: 1 addition & 1 deletion src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub async fn sync_stars(db: &DbClient, gh: &GhClient) -> Res {
}

pub fn is_repo_included(repo: &str) -> bool {
let rules = std::env::var("REPO_FILTER").unwrap_or_default();
let rules = std::env::var("GHS_FILTER").unwrap_or_default();
is_included(repo, &rules)
}

Expand Down

0 comments on commit ec99e75

Please sign in to comment.