Skip to content

Commit bc87836

Browse files
authored
chore: fix regex to exclude test files (#1297)
1 parent a141770 commit bc87836

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/owlbot/java/bin/format_source.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ do
2525
if [[ $file =~ .*/samples/snippets/src/main/java/com/example/firestore/Quickstart.java ]];
2626
then
2727
echo "File skipped formatting: $file"
28-
elif [[ $file =~ .*/samples/snippets/src/main/java/com/example/spanner/.*.java ]];
28+
elif [[ $file =~ .*/samples/snippets/src/.*/java/com/example/spanner/.*.java ]];
2929
then
3030
echo "File skipped formatting: $file"
3131
else

0 commit comments

Comments
 (0)