mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 01:11:35 +00:00
缩进修改
This commit is contained in:
parent
7a0ffd992f
commit
bf916f9b7d
@ -211,34 +211,34 @@ export class Check {
|
||||
}
|
||||
if (!chineseCheckResult.state) {
|
||||
AddErrorLogs.addAPICheckErrorLogs(
|
||||
ErrorID.JSDOC_HAS_CHINESE,
|
||||
ErrorLevel.MIDDLE,
|
||||
singleApi.getFilePath(),
|
||||
singleApi.getPos(),
|
||||
ErrorType.JSDOC_HAS_CHINESE,
|
||||
LogType.LOG_JSDOC,
|
||||
toNumber(apiJsdoc.since),
|
||||
singleApi.getApiName(),
|
||||
singleApi.getDefinedText(),
|
||||
chineseCheckResult.errorInfo,
|
||||
compositiveResult,
|
||||
compositiveLocalResult
|
||||
ErrorID.JSDOC_HAS_CHINESE,
|
||||
ErrorLevel.MIDDLE,
|
||||
singleApi.getFilePath(),
|
||||
singleApi.getPos(),
|
||||
ErrorType.JSDOC_HAS_CHINESE,
|
||||
LogType.LOG_JSDOC,
|
||||
toNumber(apiJsdoc.since),
|
||||
singleApi.getApiName(),
|
||||
singleApi.getDefinedText(),
|
||||
chineseCheckResult.errorInfo,
|
||||
compositiveResult,
|
||||
compositiveLocalResult
|
||||
);
|
||||
}
|
||||
if (!errorCodeResult.state) {
|
||||
AddErrorLogs.addAPICheckErrorLogs(
|
||||
ErrorID.ERROR_ERROR_CODE,
|
||||
ErrorLevel.MIDDLE,
|
||||
singleApi.getFilePath(),
|
||||
singleApi.getPos(),
|
||||
ErrorType.ERROR_ERROR_CODE,
|
||||
LogType.LOG_JSDOC,
|
||||
toNumber(apiJsdoc.since),
|
||||
singleApi.getApiName(),
|
||||
singleApi.getDefinedText(),
|
||||
errorCodeResult.errorInfo,
|
||||
compositiveResult,
|
||||
compositiveLocalResult,
|
||||
ErrorID.ERROR_ERROR_CODE,
|
||||
ErrorLevel.MIDDLE,
|
||||
singleApi.getFilePath(),
|
||||
singleApi.getPos(),
|
||||
ErrorType.ERROR_ERROR_CODE,
|
||||
LogType.LOG_JSDOC,
|
||||
toNumber(apiJsdoc.since),
|
||||
singleApi.getApiName(),
|
||||
singleApi.getDefinedText(),
|
||||
errorCodeResult.errorInfo,
|
||||
compositiveResult,
|
||||
compositiveLocalResult,
|
||||
);
|
||||
}
|
||||
tagInheritCheckResult.forEach((inheritCheckResult: ErrorTagFormat) => {
|
||||
|
Loading…
Reference in New Issue
Block a user