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) {