Skip to content

Commit

Permalink
log: fix megacheck warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
egonelbre committed Aug 7, 2017
1 parent b159cdd commit cd82b89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log/format.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func escapeString(s string) string {
needsEscape = true
}
}
if needsEscape == false && needsQuotes == false {
if !needsEscape && !needsQuotes {
return s
}
e := stringBufPool.Get().(*bytes.Buffer)
Expand Down

0 comments on commit cd82b89

Please sign in to comment.