summaryrefslogtreecommitdiffstats
path: root/source/filesystem.go
diff options
context:
space:
mode:
Diffstat (limited to 'source/filesystem.go')
-rw-r--r--source/filesystem.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/filesystem.go b/source/filesystem.go
index ce62c15a4..1cd75f032 100644
--- a/source/filesystem.go
+++ b/source/filesystem.go
@@ -102,11 +102,9 @@ func (f *Filesystem) captureFiles() error {
})
return w.Walk()
-
}
func (f *Filesystem) shouldRead(filename string, fi hugofs.FileMetaInfo) (bool, error) {
-
ignore := f.SourceSpec.IgnoreFile(fi.Meta().Filename())
if fi.IsDir() {