mooooooove

This commit is contained in:
TrèsAbhi committed 2025-11-12 10:24:38 -06:00
1 parent 45097f198c
commit 98de246578
1 file changed
+2 -4
+2 -4
View File
@@ -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",