From a5eedd50712e5ccc96a5892a06e12a1b1d40eaa8 Mon Sep 17 00:00:00 2001 From: Philipp Sieber Date: Thu, 12 Dec 2024 08:59:44 +0100 Subject: [PATCH] Update config.go (#56) --- internal/pkg/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/config/config.go b/internal/pkg/config/config.go index 57738c4..595d813 100644 --- a/internal/pkg/config/config.go +++ b/internal/pkg/config/config.go @@ -235,7 +235,7 @@ func ParseDependabotConfig(fileContent []byte) (*DependabotConfig, error) { // IsManifestCovered returns if a manifest file is covered within a dependabot.yml config func (config *DependabotConfig) IsManifestCovered(manifestFile string, manifestType string, updateRegistries []string) bool { - if config.Updates == nil || len(config.Updates) == 0 { + if len(config.Updates) == 0 { return false } for i, update := range config.Updates {