refactor(config): collapse multi-line slog call

This commit is contained in:
ayn2op 2026-05-21 20:34:12 -04:00
parent 6a0ab74411
commit 4d59013a71

View file

@ -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 = "."
}