this was supposed to only be debug code
This commit is contained in:
parent
d958fda766
commit
58ce73adf7
|
@ -75,4 +75,3 @@ message Fruits { // `autogenpb:marshal` `
|
||||||
int64 cost = 4; // you can add additional things here but the three lines above must conform to the standard above
|
int64 cost = 4; // you can add additional things here but the three lines above must conform to the standard above
|
||||||
map<string, string> junk = 5;
|
map<string, string> junk = 5;
|
||||||
}
|
}
|
||||||
// footer was empty
|
|
||||||
|
|
|
@ -423,7 +423,10 @@ func (parent *FormatMsg) format() []string {
|
||||||
|
|
||||||
func (msg *FormatMsg) formatFooter(line string, dbg string) string {
|
func (msg *FormatMsg) formatFooter(line string, dbg string) string {
|
||||||
if line == "" {
|
if line == "" {
|
||||||
return "// footer was empty"
|
if argv.Debug {
|
||||||
|
return "// footer was empty"
|
||||||
|
}
|
||||||
|
return ""
|
||||||
}
|
}
|
||||||
return msg.formatLineBase(line, "footer")
|
return msg.formatLineBase(line, "footer")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue