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

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2025-11-13 16:39:35 -07:00
committed by GitHub
parent 15ab96af6b
commit 6f99eeffa8

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