lintcheck: fix bug in downloade_and_extract() for git sources: we need to execute "git checkout xy" inside the repo dir!
This commit is contained in:
parent
214d821268
commit
f8dbcae9f4
@ -136,6 +136,7 @@ impl CrateSource {
|
||||
Command::new("git")
|
||||
.arg("checkout")
|
||||
.arg(commit)
|
||||
.current_dir(&repo_path)
|
||||
.output()
|
||||
.expect("Failed to check out commit");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user