From 91452bf3ae7efc7b63ab7a005b2eec519f55fa9c Mon Sep 17 00:00:00 2001 From: Tien Nguyen Date: Thu, 6 Aug 2015 14:15:00 -0700 Subject: [PATCH] Use combinesPath. --- src/harness/fourslash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/harness/fourslash.ts b/src/harness/fourslash.ts index 49ecc7d9a47..f9470ab2d58 100644 --- a/src/harness/fourslash.ts +++ b/src/harness/fourslash.ts @@ -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); }