Skip to content

Commit

Permalink
Fix partially checkouted deps
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Jan 17, 2024
1 parent 81f4c31 commit 4e168cb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/metadata/src/lockfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,10 @@ impl Lockfile {
let git = Git::clone(url, &path)?;
git.fetch()?;
git.checkout(Some(revision))?;
} else {
let git = Git::open(&path)?;
git.fetch()?;
git.checkout(Some(revision))?;
}

let toml = path.join("Veryl.toml");
Expand Down

0 comments on commit 4e168cb

Please sign in to comment.