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:
@ -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
|
||||
|
Reference in New Issue
Block a user