Skip to content

Commit 462c34b

Browse files
committed
fix generate script
1 parent c40e8b3 commit 462c34b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/protos/generate.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ protoc_gen_grpc_swift="$bin_path/protoc-gen-grpc-swift-2"
3636
# - $4 onwards: options to forward to the plugin
3737
function generate_grpc {
3838
local proto=$1
39-
local args=("--plugin=$protoc_gen_grpc_swift" "--proto_path=${2}" "--grpc-swift_out=${3}")
39+
local args=("--plugin=$protoc_gen_grpc_swift" "--proto_path=${2}" "--grpc-swift-2_out=${3}")
4040

4141
for option in "${@:4}"; do
42-
args+=("--grpc-swift_opt=$option")
42+
args+=("--grpc-swift-2_opt=$option")
4343
done
4444

4545
invoke_protoc "${args[@]}" "$proto"

0 commit comments

Comments
 (0)