From 98de246578d9a09059880fdd96cf2ba97eaeb3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=C3=A8sAbhi?= <43380238+tresabhi@users.noreply.github.com> Date: Wed, 12 Nov 2025 10:24:38 -0600 Subject: [PATCH] mooooooove --- packages/scripts/src/protos.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/scripts/src/protos.ts b/packages/scripts/src/protos.ts index 77914e2f1..13538ac56 100644 --- a/packages/scripts/src/protos.ts +++ b/packages/scripts/src/protos.ts @@ -14,9 +14,7 @@ const exec = promisify(execSync); let executableFileExtension: string; -console.log(await readdir("../../node_modules/.bin")); - -if (existsSync("node_modules/.bin/protoc-gen-ts_proto.exe")) { +if (existsSync("../../node_modules/.bin/protoc-gen-ts_proto.exe")) { executableFileExtension = ".exe"; } else { executableFileExtension = ""; @@ -34,7 +32,7 @@ for (const root of roots) { while (files.length > 0) { let command = [ "protoc", - `--plugin=node_modules/.bin/protoc-gen-ts_proto${executableFileExtension}`, + `--plugin=../../node_modules/.bin/protoc-gen-ts_proto${executableFileExtension}`, "--ts_proto_opt=esModuleInterop=true", "--ts_proto_opt=oneof=unions-value", // "--ts_proto_opt=removeEnumPrefix=true",