mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 14:15:22 +00:00
fix[protocol]: 修复protobuf生成找不到配置文件的bug
This commit is contained in:
1 parent
1fa4ff032e
commit
07c908ee60
2 files changed
+1
-1
No files matched your search
@@ -76,7 +76,7 @@ public class JProtobufTest {
|
||||
var op = GenerateOperation.NO_OPERATION;
|
||||
op.getGenerateLanguages().add(CodeLanguage.Protobuf);
|
||||
op.setFoldProtocol(true);
|
||||
op.setProtocolParam("protobuf=protobufTest/protobuf.xml");
|
||||
op.setProtocolParam("protobuf=protobuf.xml");
|
||||
|
||||
ProtocolManager.initProtocol(Set.of(ObjectA.class, ObjectB.class, ObjectC.class), op);
|
||||
}
|
||||
|
||||
File renamed without changes.
Reference in new issue
Block a user