mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 09:22:53 +00:00
缩进修改
This commit is contained in:
parent
7a0ffd992f
commit
bf916f9b7d
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user