Skip to content

Commit

Permalink
Merge pull request #47 from cqszhuangyang/patch-1
Browse files Browse the repository at this point in the history
解决生成协议对象嵌套导致出现死循环的问题
  • Loading branch information
whtiehack authored Dec 1, 2023
2 parents 376da9e + e64175e commit b02b7b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ function parseSymbol(root: Definition, symbol: Definition, messages: object) {
return ' ' + type + ' ' + key;
}
if (!messages[name]) {
messages[name]={};
messages[name] = parseSymbol(root, definition, messages);
}
if (!MergeMessage) {
Expand Down

0 comments on commit b02b7b3

Please sign in to comment.