We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ea008c commit 00ef701Copy full SHA for 00ef701
build/int.cloudbuild.yaml
@@ -45,8 +45,7 @@ steps:
45
46
# Remove leaf folders without changes or non-tf resources
47
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
+ if ! grep -q "^$d" _changed_folders && [ -n "$(find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit)" ]; then
50
rm -rf $d
51
fi
52
done
0 commit comments