escape error accumulated

Signed-off-by: houhaoyu <houhaoyu@huawei.com>
Change-Id: Ifdb3c1d315191d41c85c363dd03de696d702c764
This commit is contained in:
houhaoyu
2022-03-21 16:00:21 +08:00
parent 3a6e772317
commit bee8c373b3
+7
View File
@@ -226,6 +226,13 @@ export class ResultStates {
} else {
console.info(this.blue, 'COMPILE RESULT:SUCCESS ', this.reset);
}
this.clearCount();
}
private clearCount(): void {
this.mErrorCount = 0;
this.warningCount = 0;
this.noteCount = 0;
}
private printWarning(): void {