Suppress wrong errors from uv shell integration in setup_uv (#7822)

This commit is contained in:
CanbiZ 2025-09-23 11:39:46 +02:00 committed by GitHub
parent b56b053e8b
commit 1fafb3f661
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1970,9 +1970,8 @@ function setup_uv() {
export PATH="/usr/local/bin:$PATH"
fi
ensure_usr_local_bin_persist
if ! $STD uv python update-shell; then
msg_error "uv shell integration failed continuing anyway"
fi
$STD uv python update-shell >/dev/null 2>&1 || true
msg_ok "Setup uv $LATEST_VERSION"
# Optional: install specific Python version