Skip to content

Commit 73b2cc6

Browse files
author
lkawka
committed
Apply gemini suggestions
1 parent 7ec10a4 commit 73b2cc6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

scripts/checkout_experimental_types.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ while [[ $# -gt 0 ]]; do
6060
FEATURE_BRANCH="$2"
6161
shift 2
6262
;;
63-
-t|--tmp-dir)
64-
TMP_WORK_DIR="$2"
65-
shift 2
66-
;;
6763
*)
6864
echo "Error: Unknown option '$1'" >&2
6965
usage
@@ -83,15 +79,15 @@ git clone $A2A_SPEC_REPO spec_repo
8379
cd spec_repo
8480

8581
echo "Checking out the \"$A2A_SPEC_BRANCH\" branch..."
86-
git checkout $A2A_SPEC_BRANCH
82+
git checkout "$A2A_SPEC_BRANCH"
8783

8884
echo "Invoking the generate_types.sh script..."
8985
GENERATED_FILE="$ROOT_DIR/src/a2a/types.py"
9086
$ROOT_DIR/scripts/generate_types.sh "$GENERATED_FILE" --input-file "$TMP_WORK_DIR/spec_repo/specification/json/a2a.json"
9187

9288

9389
echo "Running buf generate..."
94-
cd $ROOT_DIR
90+
cd "$ROOT_DIR"
9591
buf generate
9692
uv run "$ROOT_DIR/scripts/grpc_gen_post_processor.py"
9793

0 commit comments

Comments
 (0)