1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

hugolib: Simplify range

This commit is contained in:
Bjørn Erik Pedersen
2016-11-05 17:05:18 +01:00
parent 8dace9ad6d
commit 72156e403c

View File

@ -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