From 2a75c76c64b44e52daaccc086c65369f1ae03bed Mon Sep 17 00:00:00 2001 From: ayn2op Date: Sun, 1 Jun 2025 21:20:51 -0400 Subject: [PATCH] refactor(fmt): newline after each argument --- internal/config/config.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index acffae8..8aa3d16 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -62,7 +62,9 @@ var defaultCfg []byte func DefaultPath() string { path, err := os.UserConfigDir() if err != nil { - slog.Info("user configuration directory path cannot be determined; falling back to the current directory path") + slog.Info( + "user configuration directory path cannot be determined; falling back to the current directory path", + ) path = "." } @@ -79,7 +81,13 @@ func Load(path string) (*Config, error) { } if os.IsNotExist(err) { - slog.Info("the configuration file does not exist, falling back to the default configuration", "path", path, "err", err) + slog.Info( + "the configuration file does not exist, falling back to the default configuration", + "path", + path, + "err", + err, + ) handleDefaults(cfg) return cfg, nil }