Correct go vet for Go tip
https://travis-ci.org/cloudflare/logshare/jobs/309796141#L646
This commit is contained in:
parent
c6af8847eb
commit
c6eb2a0510
1
app.go
1
app.go
@ -453,7 +453,6 @@ func (a *App) hasFlag(flag Flag) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *App) errWriter() io.Writer {
|
func (a *App) errWriter() io.Writer {
|
||||||
|
|
||||||
// When the app ErrWriter is nil use the package level one.
|
// When the app ErrWriter is nil use the package level one.
|
||||||
if a.ErrWriter == nil {
|
if a.ErrWriter == nil {
|
||||||
return ErrWriter
|
return ErrWriter
|
||||||
|
Loading…
Reference in New Issue
Block a user