chore: fix lint errors

main
sundowndev 2021-07-21 16:34:15 +02:00
parent e5ffc68091
commit 8db91837be
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ func WriteFile(p string, content []byte, name string) {
}
if name == ResultsFilename && string(output) == "[]" {
return
}
return
}
if err := ioutil.WriteFile(fmt.Sprintf("%s%c%s", p, os.PathSeparator, sanitizeName(name)), output, os.ModePerm); err != nil {
panic(err)