Skip to content

Commit 00ef701

Browse files
authored
Update int.cloudbuild.yaml
1 parent 7ea008c commit 00ef701

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

build/int.cloudbuild.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +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 . -maxdepth 1 -not -name '*.tf' -type f -print -quit $d)" ]; then
49-
echo $d
48+
if ! grep -q "^$d" _changed_folders && [ -n "$(find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit)" ]; then
5049
rm -rf $d
5150
fi
5251
done

0 commit comments

Comments
 (0)