Store diabled projects as 0
This commit is contained in:
parent
2721a8c8b4
commit
e9e7271fc3
|
@ -878,8 +878,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