Signed-off-by: puyajun <puyajun@huawei.com>
This commit is contained in:
puyajun
2022-03-22 15:52:12 +08:00
parent 9534c38551
commit 9516956c57
+3
View File
@@ -213,6 +213,9 @@ export class ResultStates {
if (this.mErrorCount > 0) {
resultInfo += `ERROR:${this.mErrorCount}`;
result = 'FAIL ';
if (!/ets_loader_ark$/.test(path.resolve(__dirname, ".."))) {
process.exitCode = 1;
}
} else {
result = 'SUCCESS ';
}