fix typo in format.sh (#4647)
This commit is contained in:
parent
28aa473362
commit
e2c256db5b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue