一致性修改

Signed-off-by: @ran-zhao-yu <ranzhaoyu1@huawei.com>
This commit is contained in:
@ran-zhao-yu
2025-09-04 15:24:03 +08:00
parent 7d0fd2109c
commit 193749fc0d
-2
View File
@@ -221,8 +221,6 @@ bool IdDefinedParser::ParseId(const std::string &filePath, const cJSON *origId,
bool IdDefinedParser::ParseType(const std::string &filePath, const cJSON *type, ResourceId &resourceId)
{
if (!type) {
std::string msg = "type";
msg.append(cJSON_GetErrorPtr());
PrintError(GetError(ERR_CODE_JSON_NODE_MISSING).FormatCause("type").SetPosition(filePath));
return false;
}