Only check if the extensions match (#8870)
This commit is contained in:
parent
44c5a816e3
commit
35b8b42b55
1 changed files with 1 additions and 7 deletions
|
@ -226,13 +226,7 @@ namespace Playback {
|
|||
(path, extension, exclude) => findResultByPath(wrapper,
|
||||
replayLog.directoriesRead.filter(
|
||||
d => {
|
||||
if (d.extension === extension) {
|
||||
if (d.exclude) {
|
||||
return ts.arrayIsEqualTo(d.exclude, exclude);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return d.extension === extension;
|
||||
}
|
||||
), path));
|
||||
|
||||
|
|
Loading…
Reference in a new issue