aboutsummaryrefslogtreecommitdiff
path: root/page/checkup.go
diff options
context:
space:
mode:
Diffstat (limited to 'page/checkup.go')
-rw-r--r--page/checkup.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/page/checkup.go b/page/checkup.go
index 6c3664f..b3b71fc 100644
--- a/page/checkup.go
+++ b/page/checkup.go
@@ -3,6 +3,7 @@ package page
import (
"fmt"
"io/fs"
+ "path/filepath"
"reflect"
"strings"
)
@@ -14,8 +15,8 @@ func (p *Page) Checkup() (map[string]PageList, error) {
out := make(map[string]PageList)
- _ = fs.WalkDir(FileSystem, ".",
- func(path string, info fs.DirEntry, err error) error {
+ _ = filepath.Walk(".",
+ func(path string, info fs.FileInfo, err error) error {
if err != nil {
return err
}