Skip to content

Commit 0159005

Browse files
committed
test3
1 parent d0eb029 commit 0159005

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

scripts/generate_proto.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -428,12 +428,7 @@ def generate_protobuf_files(temp_proto_dir: Path, output_dir: Path, project_root
428428
f"--proto_path={temp_proto_dir}",
429429
]
430430

431-
# Add brew protobuf include path if available
432-
if brew_include:
433-
grpc_cmd.append(f"--proto_path={brew_include}")
434-
else:
435-
# Fallback to local include directory
436-
grpc_cmd.append(f"--proto_path={project_root}/include")
431+
grpc_cmd.append(f"--proto_path={project_root}/include")
437432

438433
grpc_cmd.append(str(proto_file))
439434

@@ -452,12 +447,7 @@ def generate_protobuf_files(temp_proto_dir: Path, output_dir: Path, project_root
452447
f"--proto_path={temp_proto_dir}",
453448
]
454449

455-
# Add brew protobuf include path if available
456-
if brew_include:
457-
grpc_cmd.append(f"--proto_path={brew_include}")
458-
else:
459-
# Fallback to local include directory
460-
grpc_cmd.append(f"--proto_path={project_root}/include")
450+
grpc_cmd.append(f"--proto_path={project_root}/include")
461451

462452
grpc_cmd.append(str(proto_file))
463453

0 commit comments

Comments
 (0)