mirror of
https://github.com/mariocandela/beelzebub.git
synced 2025-07-01 18:47:26 -04:00
fix typo
This commit is contained in:
@ -135,7 +135,9 @@ func gelAllFilesNameByDirName(dirName string) ([]string, error) {
|
|||||||
if !file.IsDir() && strings.Contains(file.Name(), extension) {
|
if !file.IsDir() && strings.Contains(file.Name(), extension) {
|
||||||
filesName = append(filesName, file.Name())
|
filesName = append(filesName, file.Name())
|
||||||
} else {
|
} else {
|
||||||
log.Debugf("Ignore ")
|
log.WithFields(log.Fields{
|
||||||
|
"name": file.Name(),
|
||||||
|
}).Warning("Ignore file")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return filesName, nil
|
return filesName, nil
|
||||||
|
Reference in New Issue
Block a user