fix: nil pointer when updating all sources
1 file changed, 1 insertion(+), 1 deletion(-)
jump to
M internal/importer/main.go → internal/importer/main.go
@@ -33,7 +33,7 @@ forceUpdate = forceUpdate || (onlyUpdateSources != nil && len(*onlyUpdateSources) > 0) for name, source := range cfg.Importer.Sources { - if len(*onlyUpdateSources) > 0 { + if onlyUpdateSources != nil && len(*onlyUpdateSources) > 0 { if !slices.Contains(*onlyUpdateSources, name) { continue }