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 c18ccc3 commit 7d94e9cCopy full SHA for 7d94e9c
build/int.cloudbuild.yaml
@@ -43,8 +43,7 @@ steps:
43
fi
44
done
45
46
- # Remove leaf folders without changes
47
- # TODO: Handle intermeidate folders that also contain .tf
+ # Remove leaf folders without changes and intermediate folders without .tf
48
for d in `find . -type d -name 'test' -prune -o -links 2 -printf '%P\n'`; do
49
if ! grep -q "^$d" _changed_folders && [ -n "$(find . -maxdepth 1 -name '*.tf' -type f -print -quit) $d" ]; then
50
rm -rf $d;
0 commit comments