Add and enforce golangci-lint (#16)
This commit is contained in:
@@ -9,8 +9,5 @@ import (
|
||||
func Exists(filename string) bool {
|
||||
var AppFs = afero.NewOsFs()
|
||||
_, err := AppFs.Stat(filename)
|
||||
if err != nil {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
return err == nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user