Fix other linters on modified lines

This commit is contained in:
Katrina Verey
2022-08-10 18:50:28 -04:00
parent f6b72077c8
commit 55a37de686
10 changed files with 19 additions and 11 deletions

View File

@@ -100,5 +100,6 @@ func (l parser) readFile(path string) ([]byte, error) {
}
defer f.Close()
return io.ReadAll(f)
content, err := io.ReadAll(f)
return content, errors.Wrap(err)
}