chore: fix lint errors
parent
e5ffc68091
commit
8db91837be
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue