diff options
Diffstat (limited to 'internal/service/service.go')
-rw-r--r-- | internal/service/service.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/service/service.go b/internal/service/service.go index 9fbacfb..637a1cf 100644 --- a/internal/service/service.go +++ b/internal/service/service.go @@ -31,7 +31,8 @@ type Service struct { } func NewService(cfg *Config) (*Service, error) { - cfg.Apply(DefaultConfig) + // Apply defaults + cfg.Merge(&DefaultConfig) for _, cmd := range requiredCommands { if err := internal.RequireCommand(cmd); err != nil { |