Skip to content

Commit 3808cb3

Browse files
committed
Don't tildify paths in variable resolver
Fixes microsoft#106877
1 parent 2238489 commit 3808cb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/services/configurationResolver/common/variableResolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export class AbstractVariableResolverService implements IConfigurationResolverSe
144144
}
145145

146146
private fsPath(displayUri: uri): string {
147-
return this._labelService ? this._labelService.getUriLabel(displayUri) : displayUri.fsPath;
147+
return this._labelService ? this._labelService.getUriLabel(displayUri, { noPrefix: true }) : displayUri.fsPath;
148148
}
149149

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

0 commit comments

Comments
 (0)