From 6b1330d7f3eced57403279455dc3e2e556dbaaf7 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Nov 2024 02:25:31 -0600 Subject: [PATCH] remove old stdout junk --- common.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common.go b/common.go index 6f9ff2f..4e52032 100644 --- a/common.go +++ b/common.go @@ -62,7 +62,6 @@ func (rs *RepoStatus) IsPrimitive() bool { } func (rs *RepoStatus) IsProtobuf() (bool, []string, error) { - log.Info("are there .proto files in:", rs.Path()) fullp, fullc, err := ScanForProtobuf(rs.Path()) protos := make(map[string]string) protoc := make(map[string]string) @@ -71,7 +70,6 @@ func (rs *RepoStatus) IsProtobuf() (bool, []string, error) { for _, s := range fullp { filebase := filepath.Base(s) name := strings.TrimSuffix(filebase, ".proto") - // log.Info("found i, s:", i, name, filebase) anyfound = true protos[name] = s } @@ -80,7 +78,6 @@ func (rs *RepoStatus) IsProtobuf() (bool, []string, error) { for _, s := range fullc { cfilebase := filepath.Base(s) cname := strings.TrimSuffix(cfilebase, ".pb.go") - // log.Info("found compiled i, s:", i, cname, cfilebase) protoc[cname] = s if cname == pname { found = true @@ -90,7 +87,7 @@ func (rs *RepoStatus) IsProtobuf() (bool, []string, error) { if found { // log.Info("found ok") } else { - log.Info("not found") + log.Info("missing compiled proto file:", pname + "pb.go") err = errors.New("compiled file " + pname + ".pb.go missing") } }