Skip to content

Commit

Permalink
change envs in shellEnvDetectionCapability to env
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Jan 8, 2025
1 parent 0b248e2 commit d246ba7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export interface ICwdDetectionCapability {
export interface IShellEnvDetectionCapability {
readonly type: TerminalCapability.ShellEnvDetection;
readonly onDidChangeEnv: Event<Map<string, string>>;
get envs(): Map<string, string>;
get env(): Map<string, string>;
setEnvironment(envs: { [key: string]: string | undefined } | undefined, isTrusted: boolean): void;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class ShellEnvDetectionCapability extends Disposable implements IShellEnv
readonly type = TerminalCapability.ShellEnvDetection;

private readonly _env: Map<string, string> = new Map();
get envs(): Map<string, string> { return this._env; }
get env(): Map<string, string> { return this._env; }

private readonly _onDidChangeEnv = this._register(new Emitter<Map<string, string>>());
readonly onDidChangeEnv = this._onDidChangeEnv.event;
Expand Down

0 comments on commit d246ba7

Please sign in to comment.