mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 23:20:49 +03:00
simplified buildSite & better error handling around it
This commit is contained in:
parent
0318f7c149
commit
f5fda80486
4 changed files with 12 additions and 14 deletions
|
@ -46,6 +46,6 @@ func bench(cmd *cobra.Command, args []string) {
|
|||
defer pprof.StopCPUProfile()
|
||||
|
||||
for i := 0; i < benchmarkTimes; i++ {
|
||||
_, _ = buildSite()
|
||||
_ = buildSite()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue