fix(lint): resolve all errcheck violations in ingestion module
This commit is contained in:
@@ -47,7 +47,7 @@ func readFrontmatter(path, fallbackSlug string) (title string, aliases []string)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
defer f.Close()
|
||||
defer f.Close() //nolint:errcheck
|
||||
|
||||
scanner := bufio.NewScanner(f)
|
||||
inFM := false
|
||||
|
||||
Reference in New Issue
Block a user