sync: Also ignore theme directories starting by _

This commit is contained in:
nemunaire 2022-06-10 18:54:25 +02:00
parent 0f75b71f5f
commit 9f45f10775
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ func GetThemes(i Importer) ([]string, error) {
return nil, err
} else {
for _, dir := range dirs {
if !strings.HasPrefix(dir, ".") {
if !strings.HasPrefix(dir, ".") && !strings.HasPrefix(dir, "_") {
if _, err := i.listDir(dir); err == nil {
themes = append(themes, dir)
}