mirror of
https://github.com/openharmony/developtools_ace-ets2bundle.git
synced 2026-07-21 12:05:24 -04:00
fix main.js filterWorker Signed-off-by: puyajun <puyajun@huawei.com>
This commit is contained in:
+1
-1
@@ -266,7 +266,7 @@ function validateWorkOption() {
|
||||
}
|
||||
|
||||
function filterWorker(workerPath) {
|
||||
return /\.(ts|js)$/.test(workerPath) && !/^\.\./.test(workerPath);
|
||||
return /\.(ts|js)$/.test(workerPath);
|
||||
}
|
||||
|
||||
;(function initSystemResource() {
|
||||
|
||||
Reference in New Issue
Block a user