去除definedText开头空格

Signed-off-by: wangcaoyu <wangcaoyu@huawei.com>
This commit is contained in:
wangcaoyu 2024-07-15 14:12:13 +08:00
parent 0ce2a078da
commit 0214db14c7

View File

@ -1132,7 +1132,7 @@ export class ModifierHelper {
}
if (containerApiTypes.has(apiInfo.apiType)) {
definedText += ` ${apiInfo.getApiType().toLowerCase()} ${apiInfo.getApiName()}`;
apiInfo.setDefinedText(definedText);
apiInfo.setDefinedText(definedText.trim());
}
}
}