mirror of
https://github.com/openharmony/developtools_global_resource_tool.git
synced 2026-07-19 11:31:44 -04:00
!146 id_defined.json中record为空时正常执行
Merge pull request !146 from fyz1019/master
This commit is contained in:
@@ -103,9 +103,9 @@ uint32_t IdDefinedParser::Init(const string &filePath, bool isSystem)
|
||||
return RESTOOL_ERROR;
|
||||
}
|
||||
if (cJSON_GetArraySize(recordNode) == 0) {
|
||||
cerr << "Error: 'record' node is empty, please check the JSON file.";
|
||||
cerr << "Warning: 'record' node is empty, please check the JSON file.";
|
||||
cerr << NEW_LINE_PATH << filePath << endl;
|
||||
return RESTOOL_ERROR;
|
||||
return RESTOOL_SUCCESS;
|
||||
}
|
||||
int64_t startSysId = 0;
|
||||
if (isSystem) {
|
||||
|
||||
Reference in New Issue
Block a user