obey the linter
This commit is contained in:
@@ -343,7 +343,7 @@ var setBlocklistCmd = &cli.Command{
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
defer file.Close()
|
||||
defer file.Close() //nolint:errcheck
|
||||
|
||||
scanner = bufio.NewScanner(file)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user