diff --git a/internal/config/config.go b/internal/config/config.go index b2ee47d..1931e35 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -100,5 +100,13 @@ func (c *Config) Load() error { } } + for i, category := range c.Categories { + c.Categories[i] = strings.TrimSpace(category) + } + + for i, actionType := range c.ActionTypes { + c.ActionTypes[i] = strings.TrimSpace(actionType) + } + return nil }