Skip to content

Commit

Permalink
chore: use has_library_ancestor (#9387)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Nov 23, 2024
1 parent 398ef4a commit e5412ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/forge/bin/cmd/geiger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ impl GeigerArgs {
Graph::<SolData>::resolve(&paths)?
.files()
.keys()
.filter(|f| !paths.libraries.iter().any(|lib| f.starts_with(lib)))
.filter(|f| !paths.has_library_ancestor(f))
.cloned()
.collect()
} else {
Expand Down

0 comments on commit e5412ad

Please sign in to comment.