diff options
| author | Jeff Carr <[email protected]> | 2024-11-07 02:25:31 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-07 02:25:31 -0600 |
| commit | 6b1330d7f3eced57403279455dc3e2e556dbaaf7 (patch) | |
| tree | 4db0bd50ae2a211755782c2d08a1401f61747790 | |
| parent | 3ce9f5f77346c0fc94910de266453f3729fd88b6 (diff) | |
remove old stdout junkv0.22.9
| -rw-r--r-- | common.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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") } } |
