From a0a18feef0928f8076c542cf921bfec60b8c14ab Mon Sep 17 00:00:00 2001 From: puyajun Date: Tue, 15 Mar 2022 18:50:59 +0800 Subject: [PATCH] fixed d1b21cd from https://gitee.com/puyajun/developtools_ace-ets2bundle_1/pulls/387 puyajun@huawei.com fix main.js filterWorker Signed-off-by: puyajun --- compiler/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/main.js b/compiler/main.js index b1080cd79..8501af9db 100644 --- a/compiler/main.js +++ b/compiler/main.js @@ -265,7 +265,7 @@ function validateWorkOption() { } function filterWorker(workerPath) { - return /\.(ts|js)$/.test(workerPath) && !/^\.\./.test(workerPath); + return /\.(ts|js)$/.test(workerPath); } ;(function initSystemResource() { -- Gitee