diff options
| author | Jeff Carr <[email protected]> | 2025-09-27 01:43:50 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-27 02:15:01 -0500 | 
| commit | 8d04a42a2b5915b7681375e2593db33e713097a0 (patch) | |
| tree | 31c84350cd5579bc45b3663c34b52a3ebe947844 | |
| parent | 8ba75466b1eb5ece93f50312eb811ecdcb8e9586 (diff) | |
cleanup scan output
| -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  		}  | 
