Store diabled projects as 0

(cherry picked from commit e9e7271fc3)
This commit is contained in:
Ryan Cavanaugh
2017-03-21 16:02:54 -07:00
committed by Bill Ticehurst
parent 1696df6c9e
commit 35e77171e9

View File

@@ -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) {