diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/filesystem.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/filesystem.go b/source/filesystem.go index 82bcad6e6..5a6e331f1 100644 --- a/source/filesystem.go +++ b/source/filesystem.go @@ -119,7 +119,7 @@ func (f *Filesystem) shouldRead(filePath string, fi os.FileInfo) (bool, error) { jww.ERROR.Printf("Cannot read symbolic link '%s', error was: %s", filePath, err) return false, nil } - linkfi, err := os.Stat(link) + linkfi, err := hugofs.Source().Stat(link) if err != nil { jww.ERROR.Printf("Cannot stat '%s', error was: %s", link, err) return false, nil |