diff options
Diffstat (limited to 'protoParse.go')
| -rw-r--r-- | protoParse.go | 5 |
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]) |
