cmd/cache.go
Avoid deeply nested control flow statements. Open
Open
if err != nil {
return utils.ErrorExit("Failed to remove find query file.", err)
}
Function printFileContents
has 5 return statements (exceeds 4 allowed). Open
Open
func printFileContents(path string) error {
fmt.Println(path)
file, err := os.Open(path)
if err != nil {
return err