From 4d59013a71dde3dd0fe5946d990875f21377f032 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Thu, 21 May 2026 20:34:12 -0400 Subject: [PATCH] refactor(config): collapse multi-line slog call --- internal/config/config.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 5d573d5..17cbe8a 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -129,10 +129,7 @@ var defaultCfg []byte func DefaultPath() string { path, err := os.UserConfigDir() if err != nil { - slog.Info( - "user config dir cannot be determined; falling back to the current dir", - "err", err, - ) + slog.Info("user config dir cannot be determined; falling back to the current dir", "err", err) path = "." }