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.

Use `set -x` in `script/clear-target-dir-if-larger-than` (#42525)

Ben Kunkle7be76c74d6fb
diff --git a/script/clear-target-dir-if-larger-than b/script/clear-target-dir-if-larger-than
index b77b4cff0f3..f5219dcc537 100755
--- a/script/clear-target-dir-if-larger-than
+++ b/script/clear-target-dir-if-larger-than
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-set -eu
+set -euxo pipefail
if [[ $# -ne 1 ]]; then
echo "usage: $0 <MAX_SIZE_IN_GB>"