We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6a422b commit d183120Copy full SHA for d183120
docs/scripts/build-api-docs.sh
@@ -9,18 +9,13 @@
9
10
set -e
11
12
+# Required to resolve `locale.Error: unsupported locale setting`
13
+export LC_ALL=en_US.UTF-8
14
+
15
# Vercel-specific commands and configurations
-if [[ "$OSTYPE" =~ "darwin"* ]]; then
- # Required to resolve `locale.Error: unsupported locale setting`
- if [ -z "$LC_ALL" ]; then
16
- export LC_ALL=en_US.UTF-8
17
- fi
18
-else
+if ! [[ "$OSTYPE" =~ "darwin"* ]]; then
19
echo "Detected non-Darwin host. Running Vercel-specific commands and configurations"
20
21
22
- export LC_ALL=C.UTF-8
23
-
24
if ! command -v uv &> /dev/null; then
25
curl -LsSf https://astral.sh/uv/install.sh | sh
26
0 commit comments