We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15e162d commit b32f3b2Copy full SHA for b32f3b2
1 file changed
provider/local/local.go
@@ -32,7 +32,11 @@ func (l *Local) LoadRepos(owner *provider.Owner) ([]string, error) {
32
}
33
repos := make([]string, 0)
34
for _, dirEntry := range dirEntries {
35
- if dirEntry.IsDir() && isGitRepository(filepath.Join(ownerPath, dirEntry.Name())) {
+ if dirEntry.IsDir() {
36
+ if !isGitRepository(filepath.Join(ownerPath, dirEntry.Name())) {
37
+ log.Printf("skipping non-git dir %s/%s", owner.Name, dirEntry.Name())
38
+ continue
39
+ }
40
repos = append(repos, dirEntry.Name())
41
42
0 commit comments