Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
fzyzcjy committed Sep 12, 2024
1 parent 857268c commit 1c32cb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frb_codegen/src/library/utils/dart_repository/dart_repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ impl DartRepository {
pub(crate) fn from_path(path: &Path) -> anyhow::Result<Self> {
debug!("Guessing toolchain the runner is run into");

let lock_file: PubspecYaml =
let manifest_file: PubspecYaml =
read_file_and_parse_yaml(path, DartToolchain::manifest_filename())?;

let toolchain = if option_hash_map_contains(
&lock_file.dependencies,
&manifest_file.dependencies,
&DartToolchain::Flutter.to_string(),
) {
DartToolchain::Flutter
Expand Down

0 comments on commit 1c32cb1

Please sign in to comment.