@@ -3,7 +3,6 @@ package fsext
5 "path/filepath"
5 "path/filepath"
8 "github.com/charlievieth/fastwalk"
7 "github.com/charlievieth/fastwalk"
9 ignore "github.com/sabhiram/go-gitignore"
8 ignore "github.com/sabhiram/go-gitignore"
@@ -110,10 +109,6 @@ func (dl *DirectoryLister) shouldIgnore(path string, ignorePatterns []string) bo
111 base := filepath.Base(path)
110 base := filepath.Base(path)
113− if base != "." && strings.HasPrefix(base, ".") {
117 for _, pattern := range ignorePatterns {
112 for _, pattern := range ignorePatterns {
118 matched, err := filepath.Match(pattern, base)
113 matched, err := filepath.Match(pattern, base)
119 if err == nil && matched {
114 if err == nil && matched {