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