mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Don't add in size of disabled projects
(cherry picked from commit 2721a8c8b4)
This commit is contained in:
committed by
Bill Ticehurst
parent
c66a5359e2
commit
1696df6c9e
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user