fixed diff issue

main
Michal 2 years ago
parent 2e8f49f328
commit 075781f54f
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

@ -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