diff --git a/hugolib/site.go b/hugolib/site.go index 6aa274a43..6940d74bf 100644 --- a/hugolib/site.go +++ b/hugolib/site.go @@ -2265,7 +2265,7 @@ func (s *Site) getOrAddNode(nodeID string, add bool) *Node { if !add { // this is a test type error, print the keys - for k, _ := range s.nodeCache.m { + for k := range s.nodeCache.m { fmt.Println("Node:", k) } return nil