remove string restriction on atserver (#4499)

This commit is contained in:
kesonan
2024-12-17 11:59:30 +08:00
committed by GitHub
parent dbed1ea042
commit 89ecb50005
5 changed files with 4 additions and 13 deletions

View File

@@ -176,11 +176,7 @@ func (a *Analyzer) convertKV(kv []*ast.KVExpr) map[string]string {
var ret = map[string]string{}
for _, v := range kv {
key := strings.TrimSuffix(v.Key.Token.Text, ":")
if key == summaryKeyText {
ret[key] = v.Value.RawText()
} else {
ret[key] = v.Value.Token.Text
}
ret[key] = v.Value.RawText()
}
return ret