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 d11d663 commit b074620Copy full SHA for b074620
build/int.cloudbuild.yaml
@@ -46,7 +46,7 @@ steps:
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 $d -maxdepth 1 -not -name '*.tf' -type f -print -quit)" ]; then
49
- find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit
+ echo [ -n "$(find $d -maxdepth 1 -not -name '*.tf' -type f -print -quit)" ]
50
rm -rf $d
51
fi
52
done
0 commit comments