sync: Ignore some hidden files/dirs
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
357035deba
commit
7e9c2ccbe9
2 changed files with 5 additions and 3 deletions
|
|
@ -26,8 +26,10 @@ func GetThemes(i Importer) ([]string, error) {
|
|||
return nil, err
|
||||
} else {
|
||||
for _, dir := range dirs {
|
||||
if _, err := i.listDir(dir); err == nil {
|
||||
themes = append(themes, dir)
|
||||
if !strings.HasPrefix(dir, ".") {
|
||||
if _, err := i.listDir(dir); err == nil {
|
||||
themes = append(themes, dir)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue