Skip to content

Commit

Permalink
Update config.go (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippSieber authored Dec 12, 2024
1 parent 7562e32 commit a5eedd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit a5eedd5

Please sign in to comment.