From 14982e9781a39521fd3c215e09d16bb04e356e60 Mon Sep 17 00:00:00 2001 From: Yohan Belval Date: Mon, 16 Dec 2024 20:14:33 +0000 Subject: [PATCH] fix: remove escape sequence char to remove warning --- hooks/provider-pinned-versions/required_providers.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "[!~><]+"; }