mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
simplified buildSite & better error handling around it
This commit is contained in:
@@ -46,6 +46,6 @@ func bench(cmd *cobra.Command, args []string) {
|
||||
defer pprof.StopCPUProfile()
|
||||
|
||||
for i := 0; i < benchmarkTimes; i++ {
|
||||
_, _ = buildSite()
|
||||
_ = buildSite()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user