mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
mooooooove
This commit is contained in:
1 parent
45097f198c
commit
98de246578
1 file changed
+2
-4
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user