fix typo in format.sh (#4647)

This commit is contained in:
ebbit1q 2022-07-05 21:49:19 +02:00 committed by GitHub
parent 28aa473362
commit e2c256db5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ if [[ $branch ]]; then
for ex in "${exts[@]}"; do for ex in "${exts[@]}"; do
for path in "${include[@]}"; do for path in "${include[@]}"; do
for name in "${basenames[@]}"; do for name in "${basenames[@]}"; do
rx="^$path/.$ex$" rx="^$path/.*\\.$ex$"
if [[ $name =~ $rx ]]; then if [[ $name =~ $rx ]]; then
names+=("$name") names+=("$name")
fi fi