Correct go vet for Go tip

https://travis-ci.org/cloudflare/logshare/jobs/309796141#L646
This commit is contained in:
Gábor Lipták 2017-11-30 19:43:12 -05:00 committed by GitHub
parent c6af8847eb
commit c6eb2a0510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
app.go
View File

@ -453,7 +453,6 @@ func (a *App) hasFlag(flag Flag) bool {
}
func (a *App) errWriter() io.Writer {
// When the app ErrWriter is nil use the package level one.
if a.ErrWriter == nil {
return ErrWriter