add go lint to pass checks
This commit is contained in:
parent
a4a194011f
commit
882bd1adb1
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue