fix: remove panics and unblock flows
Rust / build (macos-latest, stable) (push) Canceled after 0s
Rust / build (ubuntu-latest, stable) (push) Canceled after 0s
Rust / build (windows-latest, stable) (push) Canceled after 0s

This commit is contained in:
2026-11-25 03:20:40 +07:00
parent 0fd8ea12fb
commit 3f64b36ff4
52 changed files with 753 additions and 567 deletions
+5
View File
@@ -38,10 +38,15 @@ pub fn find_git_repos(root: &Path) -> Vec<LocalRepo> {
let Some(kind) = entry.file_type() else {
return true;
};
if !kind.is_dir() {
return true;
}
if entry.file_name() == std::ffi::OsStr::new(".git") {
return false;
}
let dir = entry.path();
let Ok(repo) = gix::discover(dir) else {
return true;