From b5ef0e4625ad7da67bde80dcb4aa451be98e665a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerhard=20St=C3=B6bich?= Date: Wed, 25 Jan 2023 14:04:36 +0100 Subject: [PATCH] chore: fix proto generation (#3567) Seems protobufjs 7.2.0 requires to include a search path. --- experimental/packages/otlp-proto-exporter-base/scripts/protos.js | 1 + 1 file changed, 1 insertion(+) diff --git a/experimental/packages/otlp-proto-exporter-base/scripts/protos.js b/experimental/packages/otlp-proto-exporter-base/scripts/protos.js index e06cc9db44..3f3fbd6c0c 100644 --- a/experimental/packages/otlp-proto-exporter-base/scripts/protos.js +++ b/experimental/packages/otlp-proto-exporter-base/scripts/protos.js @@ -45,6 +45,7 @@ async function pbjs(files) { const outFile = path.join(generatedPath, 'root.js'); const pbjsOptions = [ '-t', 'static-module', + '-p', protosPath, '-w', 'commonjs', '--null-defaults', '-o', outFile,