Only check if the extensions match (#8870)

This commit is contained in:
Yui 2016-05-31 11:16:56 -07:00
parent 44c5a816e3
commit 35b8b42b55

View file

@ -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));