summaryrefslogtreecommitdiffstats
path: root/commands/benchmark.go
diff options
context:
space:
mode:
authorspf13 <steve.francia@gmail.com>2013-10-09 19:06:47 -0400
committerspf13 <steve.francia@gmail.com>2013-10-09 19:14:26 -0400
commitf5fda804866d971ece34d8862bcdcb8379d3cf92 (patch)
treecd8e4e8651673684025658519448954333a8bdf1 /commands/benchmark.go
parent0318f7c149f98eb2bcbb44b0ca1c7420379190eb (diff)
simplified buildSite & better error handling around it
Diffstat (limited to 'commands/benchmark.go')
-rw-r--r--commands/benchmark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/benchmark.go b/commands/benchmark.go
index 8e6b43139..010c1ed2b 100644
--- a/commands/benchmark.go
+++ b/commands/benchmark.go
@@ -46,6 +46,6 @@ func bench(cmd *cobra.Command, args []string) {
defer pprof.StopCPUProfile()
for i := 0; i < benchmarkTimes; i++ {
- _, _ = buildSite()
+ _ = buildSite()
}
}