mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 12:54:01 +03:00
Update to the latest golangci-lint
This commit is contained in:
@@ -35,7 +35,7 @@ func captureOutput(filefp **os.File, callback func()) string {
|
||||
|
||||
callback()
|
||||
|
||||
writer.Close()
|
||||
writer.Close() //nolint: errcheck
|
||||
<-closeChan
|
||||
|
||||
return strings.TrimSpace(buf.String())
|
||||
|
||||
Reference in New Issue
Block a user