From e063719caac6e837be77e39aee2558009e59d4d1 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:22:27 -0600 Subject: [PATCH] debug --- packages/scripts/src/protos.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/scripts/src/protos.ts b/packages/scripts/src/protos.ts index 016110dcb..8ce4d86f2 100644 --- a/packages/scripts/src/protos.ts +++ b/packages/scripts/src/protos.ts @@ -14,6 +14,8 @@ const exec = promisify(execSync); let executableFileExtension: string; +console.log(await readdir("node_modules/.bin")); + if (existsSync("node_modules/.bin/protoc-gen-ts_proto.exe")) { executableFileExtension = ".exe"; } else { @@ -32,7 +34,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",