Don't try and delete ./target/. (#42680)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin authored and GitHub committed 2025-11-13 16:39:35 -07:00
1 parent 56c95e9b5d
commit e131754aa5
1 file changed
+2 -1
+2 -1
View File
@@ -21,5 +21,6 @@ echo "target directory size: ${current_size_gb}gb. max size: ${max_size_gb}gb"
if [[ ${current_size_gb} -gt ${max_size_gb} ]]; then
echo "clearing target directory"
rm -rf target/* target/.*
shopt -s dotglob
rm -rf target/*
fi