Skip to content

Commit 166baf2

Browse files
authored
Update int.cloudbuild.yaml
1 parent b074620 commit 166baf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/int.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ steps:
4545
4646
# Remove leaf folders without changes or non-tf resources
4747
for d in `find . -type d -name 'test' -prune -o -links 2 -printf '%P\n'`; do
48-
if (! grep -q "^$d" _changed_folders) && [ -n "$(find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit)" ]; then
48+
if ! grep -q "^$d" _changed_folders && ! [ -n "$(find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit)" ]; then
4949
echo [ -n "$(find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit)" ]
5050
rm -rf $d
5151
fi

0 commit comments

Comments
 (0)