about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--internal/config/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index ff21a54..55f5efa 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -109,7 +109,7 @@ func GetConfig(filename string) (*Config, error) {
 		dec := toml.NewDecoder(f)
 		err = dec.Decode(&config)
 		if err != nil {
-			var tomlError toml.DecodeError
+			var tomlError *toml.DecodeError
 			if errors.As(err, &tomlError) {
 				return nil, errors.WithMessage(err, tomlError.Error())
 			}