Skip to content

Commit e42eea4

Browse files
authoredFeb 2, 2023
fix(cli): fix relative path to Google pb files (#1859)
1 parent dce9a2e commit e42eea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎cli/pbjs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ exports.main = function main(args, callback) {
7878
});
7979

8080
// protobuf.js package directory contains additional, otherwise non-bundled google types
81-
paths.push(path.relative(process.cwd(), path.join(__dirname, "..")) || ".");
81+
paths.push(path.relative(process.cwd(), path.join(__dirname, "../protobufjs")) || ".");
8282

8383
if (!files.length) {
8484
var descs = Object.keys(targets).filter(function(key) { return !targets[key].private; }).map(function(key) {

0 commit comments

Comments
 (0)
Please sign in to comment.