From 8d04a42a2b5915b7681375e2593db33e713097a0 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 27 Sep 2025 01:43:50 -0500 Subject: cleanup scan output --- forgeDir.go | 6 ++++-- 1 file 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 } -- cgit v1.2.3