diff options
author | Egon Elbre <egonelbre@gmail.com> | 2017-08-07 00:35:37 +0800 |
---|---|---|
committer | Egon Elbre <egonelbre@gmail.com> | 2017-08-07 18:40:05 +0800 |
commit | cd82b89fde6e898318015f6252f202b0bf6c3489 (patch) | |
tree | 54070194dc0fdde52a4e2268ace326e8b184e2f8 | |
parent | b159cdd8dd33ba030e7af5aa144de43441e4f543 (diff) | |
download | go-tangerine-cd82b89fde6e898318015f6252f202b0bf6c3489.tar go-tangerine-cd82b89fde6e898318015f6252f202b0bf6c3489.tar.gz go-tangerine-cd82b89fde6e898318015f6252f202b0bf6c3489.tar.bz2 go-tangerine-cd82b89fde6e898318015f6252f202b0bf6c3489.tar.lz go-tangerine-cd82b89fde6e898318015f6252f202b0bf6c3489.tar.xz go-tangerine-cd82b89fde6e898318015f6252f202b0bf6c3489.tar.zst go-tangerine-cd82b89fde6e898318015f6252f202b0bf6c3489.zip |
log: fix megacheck warnings
-rw-r--r-- | log/format.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/log/format.go b/log/format.go index 6c19c7a55..0b07abb2a 100644 --- a/log/format.go +++ b/log/format.go @@ -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) |