Skip to content

Commit

Permalink
better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonykim1 committed Jan 22, 2025
1 parent f4e820c commit 39993b4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class ShellEnvDetectionCapability extends Disposable implements IShellEnv
this._pendingEnv = undefined;
}
// Returns true if the environment differs, and was updated.
// This way we only fire an event if the environment actually changed.
applyEnvironmentDiff(env: Map<string, string>, isTrusted: boolean): boolean {
if (!isTrusted) {
return false;
Expand Down

0 comments on commit 39993b4

Please sign in to comment.