Skip to content

Commit

Permalink
Adopt EnvironmentVariableCollection in git ext
Browse files Browse the repository at this point in the history
Fixes #184331
  • Loading branch information
Tyriar committed Jun 6, 2023
1 parent 3da8c69 commit 1c5442a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions extensions/git/src/terminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class TerminalEnvironmentManager {
private refresh(): void {
const config = workspace.getConfiguration('git', null);
this.context.environmentVariableCollection.clear();
this.context.environmentVariableCollection.description = 'Enables a git authentication provider';

if (!config.get<boolean>('enabled', true)) {
return;
Expand Down

0 comments on commit 1c5442a

Please sign in to comment.