Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ci: Fix `script/clear-target-dir-if-larger-than` post #41652 (#42640)

Ben Kunkleb900ac2ac7ca
diff --git a/script/clear-target-dir-if-larger-than b/script/clear-target-dir-if-larger-than
index f5219dcc537..e2e3062a186 100755
--- a/script/clear-target-dir-if-larger-than
+++ b/script/clear-target-dir-if-larger-than
@@ -21,5 +21,5 @@ 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
+ rm -rf target/* target/.*
fi