Skip to content

Commit e6348ea

Browse files
committed
fix generate script
1 parent 987521f commit e6348ea

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_generate_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_generate_grpc_swift" "--proto_path=${2}" "--grpc-swift_out=${3}")
39+
local args=("--plugin=$protoc_generate_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)