From a43938ce4d057227bfc44f7d7ba425aaf7f09e3c Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Thu, 7 Jul 2022 19:05:49 +0800 Subject: [PATCH] houhaoyu@huawei.com Signed-off-by: houhaoyu Change-Id: I87972f283789df8d4e20bd44d785dc3a7d92b9ea --- compiler/src/compile_info.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/src/compile_info.ts b/compiler/src/compile_info.ts index fc577b7..a738fba 100644 --- a/compiler/src/compile_info.ts +++ b/compiler/src/compile_info.ts @@ -291,9 +291,7 @@ export class ResultStates { if (this.mErrorCount > 0) { resultInfo += `ERROR:${this.mErrorCount}`; result = 'FAIL '; - if (!/ets_loader_ark$/.test(path.resolve(__dirname, '..'))) { - process.exitCode = 1; - } + process.exitCode = 1; } else { result = 'SUCCESS '; }