formacao
This commit is contained in:
+2
-7
@@ -66,12 +66,7 @@ const filesFilter = (opt, files) => {
|
||||
ret = false;
|
||||
else {
|
||||
const m = map.get(file);
|
||||
if (m !== undefined) {
|
||||
ret = m;
|
||||
}
|
||||
else {
|
||||
ret = mapHas((0, path_1.dirname)(file), root);
|
||||
}
|
||||
ret = m !== undefined ? m : mapHas((0, path_1.dirname)(file), root);
|
||||
}
|
||||
map.set(file, ret);
|
||||
return ret;
|
||||
@@ -114,7 +109,7 @@ const listFileSync = (opt) => {
|
||||
node_fs_1.default.closeSync(fd);
|
||||
/* c8 ignore next */
|
||||
}
|
||||
catch (er) { }
|
||||
catch { }
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user