From e42eea4868b11f4a07934804a56683321ed191e2 Mon Sep 17 00:00:00 2001 From: gitjuba Date: Thu, 2 Feb 2023 23:14:35 +0200 Subject: [PATCH] fix(cli): fix relative path to Google pb files (#1859) --- cli/pbjs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/pbjs.js b/cli/pbjs.js index d4ec741dc..150a2b6f0 100644 --- a/cli/pbjs.js +++ b/cli/pbjs.js @@ -78,7 +78,7 @@ exports.main = function main(args, callback) { }); // protobuf.js package directory contains additional, otherwise non-bundled google types - paths.push(path.relative(process.cwd(), path.join(__dirname, "..")) || "."); + paths.push(path.relative(process.cwd(), path.join(__dirname, "../protobufjs")) || "."); if (!files.length) { var descs = Object.keys(targets).filter(function(key) { return !targets[key].private; }).map(function(key) {