Sort repo paths

This commit is contained in:
Greg Shuflin 2024-10-17 17:23:30 -07:00
parent d41cbe968b
commit d63a1dc021

View File

@ -63,7 +63,8 @@ fn list_repos(directory: PathBuf) -> Result<(), std::io::Error> {
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 {
let path = path.strip_prefix(&start).unwrap();
println!("Repository: {}", path.display().to_string().yellow());