Skip to content

Commit 9932864

Browse files
authored
fix: fix dashboard proto-gen shell script (#7897)
Fix the error below when running `npm run gen-proto` for dashboard: ``` meta.proto: This file contains proto3 optional fields, but --experimental_allow_proto3_optional was not set. ``` Approved-By: Gun9niR
1 parent 1535d34 commit 9932864

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dashboard/scripts/generate_proto.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ else
1414
fi
1515

1616
protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto \
17+
--experimental_allow_proto3_optional \
1718
--ts_proto_out=proto/gen/ \
1819
--proto_path=tmp_gen \
1920
--ts_proto_opt=outputServices=false \

0 commit comments

Comments
 (0)