From e2c256db5b954dbb2ac336cd59d98a6e776b6bc6 Mon Sep 17 00:00:00 2001 From: ebbit1q Date: Tue, 5 Jul 2022 21:49:19 +0200 Subject: [PATCH] fix typo in format.sh (#4647) --- format.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.sh b/format.sh index 2125a2bc..8c60f3f8 100755 --- a/format.sh +++ b/format.sh @@ -196,7 +196,7 @@ if [[ $branch ]]; then for ex in "${exts[@]}"; do for path in "${include[@]}"; do for name in "${basenames[@]}"; do - rx="^$path/.$ex$" + rx="^$path/.*\\.$ex$" if [[ $name =~ $rx ]]; then names+=("$name") fi