summaryrefslogtreecommitdiff
path: root/protoReformat.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-04-12 11:25:32 -0500
committerJeff Carr <[email protected]>2025-04-12 11:25:32 -0500
commit58ce73adf7e557915409bbf137541a5334c2e099 (patch)
tree4a843f2ae0565747ec1e3f2f0d0edaceaf9eab0f /protoReformat.go
parentd958fda766891276322296376964d9a63dfdc1dd (diff)
this was supposed to only be debug codev0.0.69
Diffstat (limited to 'protoReformat.go')
-rw-r--r--protoReformat.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/protoReformat.go b/protoReformat.go
index b773d14..681cbc2 100644
--- a/protoReformat.go
+++ b/protoReformat.go
@@ -423,7 +423,10 @@ func (parent *FormatMsg) format() []string {
func (msg *FormatMsg) formatFooter(line string, dbg string) string {
if line == "" {
- return "// footer was empty"
+ if argv.Debug {
+ return "// footer was empty"
+ }
+ return ""
}
return msg.formatLineBase(line, "footer")
}