about summary refs log tree commit diff stats
path: root/internal/website/filemap.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/website/filemap.go')
-rw-r--r--internal/website/filemap.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/website/filemap.go b/internal/website/filemap.go
index 28dcd40..64b914f 100644
--- a/internal/website/filemap.go
+++ b/internal/website/filemap.go
@@ -10,9 +10,9 @@ import (
 	"path/filepath"
 	"strings"
 
-	"website/internal/log"
+	"go.alanpearce.eu/x/log"
 
-	"github.com/pkg/errors"
+	"gitlab.com/tozd/go/errors"
 )
 
 type File struct {
@@ -79,7 +79,7 @@ func registerFile(urlpath string, fp string) error {
 	return nil
 }
 
-func registerContentFiles(root string) error {
+func registerContentFiles(root string, log *log.Logger) error {
 	err := filepath.WalkDir(root, func(filePath string, f fs.DirEntry, err error) error {
 		if err != nil {
 			return errors.WithMessagef(err, "failed to access path %s", filePath)