summaryrefslogtreecommitdiffstats
path: root/hugofs/walk.go
diff options
context:
space:
mode:
Diffstat (limited to 'hugofs/walk.go')
-rw-r--r--hugofs/walk.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugofs/walk.go b/hugofs/walk.go
index 91dd386e2..a46b36e50 100644
--- a/hugofs/walk.go
+++ b/hugofs/walk.go
@@ -98,7 +98,8 @@ func NewWalkway(cfg WalkwayConfig) *Walkway {
hookPre: cfg.HookPre,
hookPost: cfg.HookPost,
logger: logger,
- seen: make(map[string]bool)}
+ seen: make(map[string]bool),
+ }
}
func (w *Walkway) Walk() error {
@@ -134,7 +135,6 @@ func (w *Walkway) Walk() error {
}
return w.walk(w.root, fi, w.dirEntries, w.walkFn)
-
}
// if the filesystem supports it, use Lstat, else use fs.Stat