mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-12 21:37:41 -06:00
Fix getFileContents so as not to always return the current file
This commit is contained in:
parent
40a01a81b3
commit
68beccc480
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user