mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-20 22:51:17 -05:00
Fix getFileContents so as not to always return the current file
This commit is contained in:
@@ -376,7 +376,7 @@ module FourSlash {
|
||||
}
|
||||
|
||||
private getFileContent(fileName: string): string {
|
||||
var script = this.languageServiceAdaptorHost.getScriptInfo(this.activeFile.fileName);
|
||||
var script = this.languageServiceAdaptorHost.getScriptInfo(fileName);
|
||||
return script.content;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user