fix filterWorker function

Signed-off-by: puyajun <puyajun@huawei.com>
This commit is contained in:
puyajun
2022-03-15 20:15:01 +08:00
parent 99a1d028fe
commit 1e7f806215
+1 -1
View File
@@ -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) {