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:
Matthias Krüger
2021-02-15 22:36:49 +01:00
parent 214d821268
commit f8dbcae9f4
+1
View File
@@ -136,6 +136,7 @@ fn download_and_extract(&self) -> Crate {
Command::new("git")
.arg("checkout")
.arg(commit)
.current_dir(&repo_path)
.output()
.expect("Failed to check out commit");