Skip to content

Commit

Permalink
fix: Fix project discovery not checking whether the Cargo.toml actu…
Browse files Browse the repository at this point in the history
…ally exists
  • Loading branch information
Veykril committed Mar 20, 2024
1 parent 6fce1d7 commit c7f0201
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/project-model/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ impl ProjectManifest {
entities
.filter_map(Result::ok)
.map(|it| it.path().join("Cargo.toml"))
.filter(|it| it.exists())
.map(AbsPathBuf::try_from)
.filter_map(|it| it.ok()?.try_into().ok())
.collect()
Expand Down

0 comments on commit c7f0201

Please sign in to comment.