mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00: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