fix[protocol]: 修复protobuf生成找不到配置文件的bug

This commit is contained in:
jaysunxiao
2022-06-07 12:43:31 +08:00
parent 1fa4ff032e
commit 07c908ee60
2 changed files with 1 additions and 1 deletions
@@ -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);
}