mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
hugolib: Simplify range
This commit is contained in:
parent
8dace9ad6d
commit
72156e403c
1 changed files with 1 additions and 1 deletions
|
@ -2265,7 +2265,7 @@ func (s *Site) getOrAddNode(nodeID string, add bool) *Node {
|
||||||
|
|
||||||
if !add {
|
if !add {
|
||||||
// this is a test type error, print the keys
|
// 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)
|
fmt.Println("Node:", k)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue