Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Don't try and delete ./target/. (#42680)
Conrad Irwin6f99eeffa857
diff --git a/script/clear-target-dir-if-larger-than b/script/clear-target-dir-if-larger-thanindex e2e3062a186..46256159a80 100755--- a/script/clear-target-dir-if-larger-than+++ b/script/clear-target-dir-if-larger-than@@ -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} ]]; thenecho "clearing target directory"- rm -rf target/* target/.*+ shopt -s dotglob+ rm -rf target/*fi