fix main.js filterWorker

Signed-off-by: puyajun <puyajun@huawei.com>
This commit is contained in:
puyajun
2022-03-15 18:50:59 +08:00
parent aed5164b5d
commit 86c559a7d0
+1 -1
View File
@@ -266,7 +266,7 @@ function validateWorkOption() {
}
function filterWorker(workerPath) {
return /\.(ts|js)$/.test(workerPath) && !/^\.\./.test(workerPath);
return /\.(ts|js)$/.test(workerPath);
}
;(function initSystemResource() {