diff --git a/hooks/provider-pinned-versions/required_providers.awk b/hooks/provider-pinned-versions/required_providers.awk index 3bc5da6..5807061 100644 --- a/hooks/provider-pinned-versions/required_providers.awk +++ b/hooks/provider-pinned-versions/required_providers.awk @@ -4,7 +4,7 @@ BEGIN { in_required_providers = 0; brace_count = 0; version_prefix_regex = ".*version[[:space:]]+=[[:space:]]+"; - provider_prefix_regex = "[a-z_-]+[[:space:]]+=[[:space:]]+\{"; + provider_prefix_regex = "[a-z_-]+[[:space:]]+=[[:space:]]+{"; version_constraints_regex = "[!~><]+"; }