Don't add in size of disabled projects
This commit is contained in:
parent
ff0947996c
commit
2721a8c8b4
1 changed files with 1 additions and 1 deletions
|
@ -873,7 +873,7 @@ namespace ts.server {
|
||||||
}
|
}
|
||||||
totalNonTsFileSize += this.host.getFileSize(fileName);
|
totalNonTsFileSize += this.host.getFileSize(fileName);
|
||||||
if (totalNonTsFileSize > maxProgramSizeForNonTsFiles) {
|
if (totalNonTsFileSize > maxProgramSizeForNonTsFiles) {
|
||||||
this.projectToSizeMap[name] = totalNonTsFileSize;
|
// Keep the size as zero since it's disabled
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue