param告警修复

Signed-off-by: sunlong <sunlong26@huawei.com>
This commit is contained in:
sunlong 2023-09-05 16:34:38 +08:00
parent 4afe7f247a
commit 479979ee8c

View File

@ -127,11 +127,11 @@ function checkParamValue(tag, node, fileName, tagIndex) {
}
errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_VALUE_PARAM, [tagIndex + 1, tagIndex + 1]);
}
paramResult.checkResult = false;
errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_TYPE_PARAM, [tagIndex + 1, tagIndex + 1]);
if (!paramResult.checkResult) {
paramResult.errorInfo = errorInfo;
}
paramResult.checkResult = false;
errorInfo += createErrorInfo(ErrorValueInfo.ERROR_INFO_TYPE_PARAM, [tagIndex + 1, tagIndex + 1]);
return paramResult;
}
exports.checkParamValue = checkParamValue;