mirror of
https://github.com/openharmony/developtools_ace-js2bundle.git
synced 2026-07-19 18:23:34 -04:00
fix filterWorker function Signed-off-by: puyajun <puyajun@huawei.com>
This commit is contained in:
@@ -343,7 +343,7 @@ function validateWorkOption() {
|
||||
}
|
||||
|
||||
function filterWorker(workerPath) {
|
||||
return /\.(ts|js)$/.test(workerPath) && !/^\.\./.test(workerPath);
|
||||
return /\.(ts|js)$/.test(workerPath);
|
||||
}
|
||||
|
||||
function readFile(dir, utFiles) {
|
||||
|
||||
Reference in New Issue
Block a user