fix: uvshim default to existing uv configuration (#1670)

This commit is contained in:
Zaki Ali
2025-03-13 13:15:49 -07:00
committed by GitHub
parent e268fb4392
commit 5449985775
+1 -2
View File
@@ -79,8 +79,7 @@ if [ -n "${GOOSE_UV_REGISTRY:-}" ] && curl -s --head --fail "$GOOSE_UV_REGISTRY"
export UV_INDEX_URL="$GOOSE_UV_REGISTRY"
export UV_NATIVE_TLS=true
else
log "GOOSE_UV_REGISTRY is either not set or not accessible. Falling back to default pip registry."
export UV_INDEX_URL="https://pypi.org/simple"
log "Neither GOOSE_UV_REGISTRY nor UV_INDEX_URL is set. Falling back to default configuration."
fi
# Final step: Execute uvx with passed arguments