Skip to content

Commit 773e443

Browse files
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 1ff9d0a commit 773e443

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

scripts/generate_types.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,15 @@ else
9292
# Validate that the remote URL is accessible
9393
echo " - Validating remote URL..."
9494
if ! curl --fail --silent --head "$REMOTE_URL" >/dev/null 2>&1; then
95-
echo "" >&2
96-
echo "Error: Unable to access A2A specification at version '$A2A_SPEC_VERSION'" >&2
97-
echo "URL: $REMOTE_URL" >&2
98-
echo "" >&2
99-
echo "The version may not exist. Available versions can be found at:" >&2
100-
echo " https://github.com/a2aproject/A2A/tags" >&2
101-
echo "" >&2
95+
cat >&2 <<EOF
96+
97+
Error: Unable to access A2A specification at version '$A2A_SPEC_VERSION'
98+
URL: $REMOTE_URL
99+
100+
The version may not exist. Available versions can be found at:
101+
https://github.com/a2aproject/A2A/tags
102+
103+
EOF
102104
exit 1
103105
fi
104106

0 commit comments

Comments
 (0)