缩进修改

This commit is contained in:
lixudong 2024-06-18 15:02:09 +08:00
parent 7a0ffd992f
commit bf916f9b7d

View File

@ -211,34 +211,34 @@ export class Check {
} }
if (!chineseCheckResult.state) { if (!chineseCheckResult.state) {
AddErrorLogs.addAPICheckErrorLogs( AddErrorLogs.addAPICheckErrorLogs(
ErrorID.JSDOC_HAS_CHINESE, ErrorID.JSDOC_HAS_CHINESE,
ErrorLevel.MIDDLE, ErrorLevel.MIDDLE,
singleApi.getFilePath(), singleApi.getFilePath(),
singleApi.getPos(), singleApi.getPos(),
ErrorType.JSDOC_HAS_CHINESE, ErrorType.JSDOC_HAS_CHINESE,
LogType.LOG_JSDOC, LogType.LOG_JSDOC,
toNumber(apiJsdoc.since), toNumber(apiJsdoc.since),
singleApi.getApiName(), singleApi.getApiName(),
singleApi.getDefinedText(), singleApi.getDefinedText(),
chineseCheckResult.errorInfo, chineseCheckResult.errorInfo,
compositiveResult, compositiveResult,
compositiveLocalResult compositiveLocalResult
); );
} }
if (!errorCodeResult.state) { if (!errorCodeResult.state) {
AddErrorLogs.addAPICheckErrorLogs( AddErrorLogs.addAPICheckErrorLogs(
ErrorID.ERROR_ERROR_CODE, ErrorID.ERROR_ERROR_CODE,
ErrorLevel.MIDDLE, ErrorLevel.MIDDLE,
singleApi.getFilePath(), singleApi.getFilePath(),
singleApi.getPos(), singleApi.getPos(),
ErrorType.ERROR_ERROR_CODE, ErrorType.ERROR_ERROR_CODE,
LogType.LOG_JSDOC, LogType.LOG_JSDOC,
toNumber(apiJsdoc.since), toNumber(apiJsdoc.since),
singleApi.getApiName(), singleApi.getApiName(),
singleApi.getDefinedText(), singleApi.getDefinedText(),
errorCodeResult.errorInfo, errorCodeResult.errorInfo,
compositiveResult, compositiveResult,
compositiveLocalResult, compositiveLocalResult,
); );
} }
tagInheritCheckResult.forEach((inheritCheckResult: ErrorTagFormat) => { tagInheritCheckResult.forEach((inheritCheckResult: ErrorTagFormat) => {