Skip to content

Commit

Permalink
removed npx from protoc command to try and use the machine binary dir…
Browse files Browse the repository at this point in the history
…ectly
  • Loading branch information
ruirochawork committed Sep 24, 2024
1 parent 8a2dfa9 commit 0c4873a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nodejs-kafka-client-lib/generate-proto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const protoDir = path.resolve(__dirname, 'src/protobuff');
const protoFile = path.resolve(protoDir, 'messages.proto');
const outDir = path.resolve(protoDir);

const command = `npx protoc --ts_out=service=true:${outDir} --proto_path=${protoDir} ${protoFile}`;
const command = `protoc --ts_out=service=true:${outDir} --proto_path=${protoDir} ${protoFile}`;

console.log('Running command:', command);

Expand Down

0 comments on commit 0c4873a

Please sign in to comment.