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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue