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