Store diabled projects as 0
(cherry picked from commite9e7271fc3
) (cherry picked from commit35e77171e9
)
This commit is contained in:
parent
e5313bda21
commit
eef0505f55
|
@ -879,8 +879,12 @@ namespace ts.server {
|
|||
}
|
||||
}
|
||||
|
||||
if (totalNonTsFileSize > availableSpace) {
|
||||
return true;
|
||||
}
|
||||
|
||||
this.projectToSizeMap[name] = totalNonTsFileSize;
|
||||
return totalNonTsFileSize > availableSpace;
|
||||
return false;
|
||||
}
|
||||
|
||||
private createAndAddExternalProject(projectFileName: string, files: protocol.ExternalFile[], options: protocol.ExternalProjectCompilerOptions, typeAcquisition: TypeAcquisition) {
|
||||
|
|
Loading…
Reference in a new issue