Skip to content

Commit

Permalink
dev: Fix mage command
Browse files Browse the repository at this point in the history
  • Loading branch information
KrishnaIyer committed Jun 14, 2023
1 parent b436979 commit 68747f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/mage/proto.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ func (p Proto) fieldMask(context.Context) error {
func (p Proto) grpcGateway(context.Context) error {
return withProtoc(grpcGatewayProtoImage, func(pCtx *protocContext, protoc func(...string) error) error {
if err := protoc(
fmt.Sprintf("--grpc-gateway_out=:%s", protocOut),
fmt.Sprintf("%s/api/*.proto", pCtx.WorkingDirectory),
); err != nil {
return fmt.Errorf("failed to generate protos: %w", err)
Expand Down

0 comments on commit 68747f0

Please sign in to comment.