diff --git a/pkg/config/config.go b/pkg/config/config.go index 69f99aa..32f3393 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -94,6 +94,11 @@ func CheckAndLoad() error { } } + + if cfg.Bins == nil { + cfg.Bins = map[string]*Binary{} + } + log.Debugf("Download path set to %s", cfg.DefaultPath) return nil }