Skip to content

Commit b5ef0e4

Browse files
authored
chore: fix proto generation (#3567)
Seems protobufjs 7.2.0 requires to include a search path.
1 parent 77f7753 commit b5ef0e4

File tree

1 file changed

+1
-0
lines changed
  • experimental/packages/otlp-proto-exporter-base/scripts

1 file changed

+1
-0
lines changed

experimental/packages/otlp-proto-exporter-base/scripts/protos.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ async function pbjs(files) {
4545
const outFile = path.join(generatedPath, 'root.js');
4646
const pbjsOptions = [
4747
'-t', 'static-module',
48+
'-p', protosPath,
4849
'-w', 'commonjs',
4950
'--null-defaults',
5051
'-o', outFile,

0 commit comments

Comments
 (0)