send diagnostics to stderr

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
This commit is contained in:
Michał 2026-09-08 12:15:23 +02:00 committed by GitHub
parent fbd0abd3f7
commit b8c7b387bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,9 +71,9 @@ if [ -n "$MODIFY_ENV" ]; then
# Check if multiple Python versions are selected
VERSIONS=$(pyenv-prefix)
if [[ "$VERSIONS" == *:* ]]; then
echo 'Warning: multiple Python versions are selected'
echo 'Warning: multiple Python versions are selected' >&2
VERSION="${VERSIONS%%:*}"
echo "Using the first one available (${VERSION##*/})"
echo "Using the first one available (${VERSION##*/})" >&2
else
VERSION="$VERSIONS"
fi