Skip to content

Commit

Permalink
fix(cli): fix relative path to Google pb files (#1859)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitjuba committed Feb 2, 2023
1 parent dce9a2e commit e42eea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/pbjs.js
Expand Up @@ -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) {
Expand Down

0 comments on commit e42eea4

Please sign in to comment.