Skip to content

Commit c565165

Browse files
welkeyeverAsterDY
authored andcommitted
fix: wrong submodule repo dir
1 parent 3e8138e commit c565165

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ fn check_repo_exist(repo: &String) -> String {
9090
} else {
9191
println!("Already cloned: {}", base_repo)
9292
}
93+
94+
// return the real repo dir - submodule case
95+
let repo_dir = format!("./tmp/{}", repo);
9396
repo_dir
9497
}
9598

0 commit comments

Comments
 (0)