Skip to content

Commit

Permalink
Don't tildify paths in variable resolver
Browse files Browse the repository at this point in the history
Fixes #106877
  • Loading branch information
alexr00 committed Sep 17, 2020
1 parent 2238489 commit 3808cb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class AbstractVariableResolverService implements IConfigurationResolverSe
}

private fsPath(displayUri: uri): string {
return this._labelService ? this._labelService.getUriLabel(displayUri) : displayUri.fsPath;
return this._labelService ? this._labelService.getUriLabel(displayUri, { noPrefix: true }) : displayUri.fsPath;
}

private evaluateSingleVariable(match: string, variable: string, folderUri: uri | undefined, commandValueMapping: IStringDictionary<string> | undefined): string {
Expand Down

0 comments on commit 3808cb3

Please sign in to comment.