Skip to content

Commit

Permalink
Update checks/var_number_matches_type.go
Browse files Browse the repository at this point in the history
Co-authored-by: Térence <[email protected]>
  • Loading branch information
Laudenlaruto and cterence authored Jan 6, 2025
1 parent 7ee3d0d commit 09c7bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/var_number_matches_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func VarNumberMatchesType(modules map[string]data.TerraformModule) (data.Check,
isCollection := strings.HasPrefix(variable.Type, "list") || strings.HasPrefix(variable.Type, "set") || strings.HasPrefix(variable.Type, "map")
pluralize := pluralize.NewClient()
// Add irregular rules
// If this list gets to big, we should consider moving it to a file or even finding a better way to handle this
// If this list gets too big, we should consider moving it to a file or even finding a better way to handle this
pluralize.AddIrregularRule("uri", "uris")

// Remove all spaces and new lines from the type
Expand Down

0 comments on commit 09c7bea

Please sign in to comment.