From 58ce73adf7e557915409bbf137541a5334c2e099 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 12 Apr 2025 11:25:32 -0500 Subject: this was supposed to only be debug code --- protoReformat.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'protoReformat.go') 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") } -- cgit v1.2.3