Skip to content

Commit

Permalink
fix: ops
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryDodzin committed Dec 13, 2021
1 parent 51c718b commit 196bb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/mol-cargo/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl Cargo {
return Cargo::check_read_dir(exists, globs, fs::read_dir(&link_value).await?).await;
}

if globs.is_match(entry.path()) && file_type.is_file() && entry.file_name() == "Cargo.toml" {
if globs.is_match(entry_path) && file_type.is_file() && entry.file_name() == "Cargo.toml" {
result.extend(Cargo.read_package(entry.path()).await?);
}
}
Expand Down

0 comments on commit 196bb16

Please sign in to comment.