shithub: hugo

Download patch

ref: 72156e403c3e83b0091c764111ce6a75bd40c08e
parent: 8dace9ad6dc4635b1415ad604d9ac2e6eac59f70
author: Bjørn Erik Pedersen <[email protected]>
date: Sat Nov 5 13:05:18 EDT 2016

hugolib: Simplify range

--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -2265,7 +2265,7 @@
 
 	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