summaryrefslogtreecommitdiffstats
path: root/commands/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/server.go')
-rw-r--r--commands/server.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/server.go b/commands/server.go
index bdf6e905a..e1a4b5cf5 100644
--- a/commands/server.go
+++ b/commands/server.go
@@ -497,9 +497,7 @@ func (c *serverCommand) Run(ctx context.Context, cd *simplecobra.Commandeer, arg
err := func() error {
defer c.r.timeTrack(time.Now(), "Built")
- var err error
- err = c.build()
- return err
+ return c.build()
}()
if err != nil {
return err