Don't start repo with non-directory root (fixes #276)

This commit is contained in:
Jakob Borg committed 2014-05-28 06:55:30 +02:00
1 parent 381f6aeaf6
commit 8fe546c4a2
4 files changed
+13 -4

No files matched your search

+4 -1
View File
@@ -628,7 +628,10 @@ func (m *Model) ScanRepos() {
for _, repo := range repos {
repo := repo
go func() {
m.ScanRepo(repo)
err := m.ScanRepo(repo)
if err != nil {
invalidateRepo(m.cfg, repo, err)
}
wg.Done()
}()
}