From c839fb1746c8570d0156819592dfd6806329f614 Mon Sep 17 00:00:00 2001 From: MrMelon54 Date: Mon, 9 Oct 2023 20:30:35 +0100 Subject: [PATCH] Format this --- cmd/lavender/serve.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/lavender/serve.go b/cmd/lavender/serve.go index a1c6db7..8ae7075 100644 --- a/cmd/lavender/serve.go +++ b/cmd/lavender/serve.go @@ -72,8 +72,7 @@ func normalLoad(startUp server.Conf, wd string) { log.Fatal("[Lavender] Failed to load or create MJWT signer:", err) } - err = pages.LoadPages(wd) - if err != nil { + if err := pages.LoadPages(wd); err != nil { log.Fatal("[Lavender] Failed to load page templates:", err) }