summaryrefslogtreecommitdiff
path: root/protoParse.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-30 23:15:34 -0500
committerJeff Carr <[email protected]>2025-10-30 23:15:34 -0500
commit01cd36974b1f38264d2ff56b8c03c5103b78612c (patch)
treed900e70155d18592888433b2c2e50c8c2be2871d /protoParse.go
parent8bc73bdc2d7b22ee4f21bf878bbca947f6a1b57a (diff)
does every .proto file by defaultHEADv0.5.38masterdevel
Diffstat (limited to 'protoParse.go')
-rw-r--r--protoParse.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/protoParse.go b/protoParse.go
index 03673b6..291e2f3 100644
--- a/protoParse.go
+++ b/protoParse.go
@@ -22,7 +22,6 @@ func (pf *File) protoParse() error {
// if err := pb.hasPluralMessage(pf); err != nil {
// return err
// }
- // os.Exit(0)
uuid, version, err := fhelp.ValidProtobuf(pf.Filename)
if err != nil {
@@ -222,7 +221,9 @@ func (pf *File) parseForMessage(line string) *MsgName {
parts := strings.Split(line, "autogenpb:gu")
if len(parts) != 2 {
log.Info("len(parts) != 2", line)
- os.Exit(-1)
+ pwd, _ := os.Getwd()
+ log.Info("working directory", pwd)
+ panic("autogenpb: notsure why this check is here anymore" + pf.Filename)
}
log.Info("line =", line)
log.Info("end =", parts[1])