Sort repo paths
This commit is contained in:
parent
d41cbe968b
commit
d63a1dc021
@ -63,7 +63,8 @@ fn list_repos(directory: PathBuf) -> Result<(), std::io::Error> {
|
|||||||
Ok(repos)
|
Ok(repos)
|
||||||
}
|
}
|
||||||
|
|
||||||
let repo_paths = gather_repos(&start, 0)?;
|
let mut repo_paths = gather_repos(&start, 0)?;
|
||||||
|
repo_paths.sort();
|
||||||
for path in &repo_paths {
|
for path in &repo_paths {
|
||||||
let path = path.strip_prefix(&start).unwrap();
|
let path = path.strip_prefix(&start).unwrap();
|
||||||
println!("Repository: {}", path.display().to_string().yellow());
|
println!("Repository: {}", path.display().to_string().yellow());
|
||||||
|
Loading…
Reference in New Issue
Block a user