about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--internal/importer/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/importer/main.go b/internal/importer/main.go
index 747d813..5343e81 100644
--- a/internal/importer/main.go
+++ b/internal/importer/main.go
@@ -33,7 +33,7 @@ func Start(
 	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
 			}