mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Use combinesPath.
This commit is contained in:
@@ -2152,7 +2152,7 @@ module FourSlash {
|
||||
}
|
||||
|
||||
private getDocumentHighlightsAtCurrentPosition(fileNamesToSearch: string[]) {
|
||||
let filesToSearch = fileNamesToSearch.map(name => this.basePath + "/" + name);
|
||||
let filesToSearch = fileNamesToSearch.map(name => ts.combinePaths(this.basePath, name));
|
||||
return this.languageService.getDocumentHighlights(this.activeFile.fileName, this.currentCaretPosition, filesToSearch);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user