Skip to content

Commit

Permalink
chore: styling
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Kisler <[email protected]>
  • Loading branch information
kislerdm committed Jan 30, 2024
1 parent f8f34fb commit 185a6fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/provider/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
// Validate validates provider's metadata.
func Validate(v Metadata) error {
var errs = make([]error, 0)

if len(v.Versions) < 1 {
errs = append(errs, validate.ErrorEmptyList)
}
Expand Down

0 comments on commit 185a6fa

Please sign in to comment.