fixed diff issue

main
Michal 2 years ago
parent 2cb1719e21
commit e1d8385654

@ -29,7 +29,7 @@ pub fn clone(verbose: bool) {
let mut repo_diff = vec![];
for repo in repos {
let name = &repo.name;
if !dirs.contains(&format!("./{}", name)) || !dirs.contains(&format!(".\\{}", name)) {
if !dirs.contains(&format!("./{}", name)) && !dirs.contains(&format!(".\\{}", name)) {
repo_diff.push(repo);
}
}

Loading…
Cancel
Save