mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-12 04:17:34 -06:00
Don't add in size of disabled projects
(cherry picked from commit 2721a8c8b4fcacc551e68594964ea581b713f83c) (cherry picked from commit 1696df6c9eca388b72b73a1e1897ab9b85080a7e)
This commit is contained in:
parent
390e63200a
commit
e5313bda21
@ -874,7 +874,7 @@ namespace ts.server {
|
||||
}
|
||||
totalNonTsFileSize += this.host.getFileSize(fileName);
|
||||
if (totalNonTsFileSize > maxProgramSizeForNonTsFiles) {
|
||||
this.projectToSizeMap[name] = totalNonTsFileSize;
|
||||
// Keep the size as zero since it's disabled
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user