Skip to content

Commit 16a8093

Browse files
author
Kartik Raj
committed
More
1 parent a2b0106 commit 16a8093

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/vs/workbench/api/common/extHostTerminalService.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -999,12 +999,11 @@ class EnvironmentVariableCollection {
999999

10001000
public getDescription(scope: vscode.EnvironmentVariableScope | undefined): string | vscode.MarkdownString | undefined {
10011001
const key = this.getScopeKey(scope);
1002-
const value = this.descriptionMap.get(key);
1003-
return value?.description;
1002+
return this.descriptionMap.get(key)?.description;
10041003
}
10051004

10061005
private clearDescription(scope: vscode.EnvironmentVariableScope | undefined): void {
1007-
const key = this.getKey('', scope);
1006+
const key = this.getScopeKey(scope);
10081007
this.descriptionMap.delete(key);
10091008
}
10101009
}

0 commit comments

Comments
 (0)