We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b0106 commit 16a8093Copy full SHA for 16a8093
src/vs/workbench/api/common/extHostTerminalService.ts
@@ -999,12 +999,11 @@ class EnvironmentVariableCollection {
999
1000
public getDescription(scope: vscode.EnvironmentVariableScope | undefined): string | vscode.MarkdownString | undefined {
1001
const key = this.getScopeKey(scope);
1002
- const value = this.descriptionMap.get(key);
1003
- return value?.description;
+ return this.descriptionMap.get(key)?.description;
1004
}
1005
1006
private clearDescription(scope: vscode.EnvironmentVariableScope | undefined): void {
1007
- const key = this.getKey('', scope);
+ const key = this.getScopeKey(scope);
1008
this.descriptionMap.delete(key);
1009
1010
0 commit comments