diff options
| -rw-r--r-- | forgeDir.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/forgeDir.go b/forgeDir.go index 43a3c1a..5dc9ea8 100644 --- a/forgeDir.go +++ b/forgeDir.go @@ -60,11 +60,13 @@ func scanForgedDir(srcDir string) ([]string, error) { gitfile := filepath.Join(path, "git.pb") _, err2 := os.Stat(gitfile) if !os.IsNotExist(err2) { - log.Info("IS THIS THE ONE?", path) + // log.Info("IS THIS THE ONE?", path) if ok, err := addGitRepoDir(path); ok { log.Info("added", path) } else { - log.Info("err", path, err) + if err != nil { + log.Info("add failed", path, err) + } } return filepath.SkipDir } |
