diff options
author | Bjørn Erik Pedersen <[email protected]> | 2024-02-05 15:01:15 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2024-02-05 15:03:03 +0100 |
commit | a80c3021ba6bfcaeb837568b06d379f2e67aa30a (patch) | |
tree | 945c3f426f136e39d751c4d4153bbfdef7e2db65 /commands/server.go | |
parent | 9df7b295bcfb59000f6ee675dfbbc53654f3d86c (diff) | |
download | hugo-a80c3021ba6bfcaeb837568b06d379f2e67aa30a.tar.gz hugo-a80c3021ba6bfcaeb837568b06d379f2e67aa30a.zip |
source: Remove unused Filesystem structfix/dotfilererr-11993
Diffstat (limited to 'commands/server.go')
-rw-r--r-- | commands/server.go | 4 |
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 |