sync: Also ignore theme directories starting by _
This commit is contained in:
parent
0f75b71f5f
commit
9f45f10775
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user