add go lint to pass checks

This commit is contained in:
Gowtham Munukutla 2021-02-18 22:39:56 +05:30
parent a4a194011f
commit 882bd1adb1

View file

@ -305,7 +305,7 @@ func processFiles(filename string) (string, bool, error) {
} else {
switch mode := fi.Mode(); {
case mode.IsDir():
return "", false, fmt.Errorf("found directory %s" , filename)
return "", false, fmt.Errorf("found directory %s", filename)
case mode.IsRegular():
fileExists = true
}