Merge pull request #9002 from zhengbli/moreTsserverTests

Add tests for tsserver project system
This commit is contained in:
Zhengbo Li
2016-06-07 21:56:09 -07:00
4 changed files with 300 additions and 22 deletions

View File

@@ -268,7 +268,7 @@ namespace ts.server {
}
removeRoot(info: ScriptInfo) {
if (!this.filenameToScript.contains(info.path)) {
if (this.filenameToScript.contains(info.path)) {
this.filenameToScript.remove(info.path);
this.roots = copyListRemovingItem(info, this.roots);
this.resolvedModuleNames.remove(info.path);