Skip to content

Commit 97e89dc

Browse files
committed
Renames method
1 parent 6c95d76 commit 97e89dc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/plus/integrations/authentication/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class GitHubAuthenticationProvider extends CloudIntegrationAuthentication
2323
this.disposables.push(
2424
authentication.onDidChangeSessions(e => {
2525
if (e.provider.id === this.authProviderId) {
26-
this.fireDidChange();
26+
this.fireChange();
2727
}
2828
}),
2929
);

src/plus/integrations/authentication/integrationAuthenticationProvider.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ abstract class IntegrationAuthenticationProviderBase<ID extends IntegrationIds =
7676
);
7777

7878
if (configured?.length) {
79-
this.fireDidChange();
79+
this.fireChange();
8080
}
8181
}
8282

@@ -93,7 +93,7 @@ abstract class IntegrationAuthenticationProviderBase<ID extends IntegrationIds =
9393
);
9494

9595
if (configured?.length) {
96-
this.fireDidChange();
96+
this.fireChange();
9797
}
9898
}
9999

@@ -139,7 +139,7 @@ abstract class IntegrationAuthenticationProviderBase<ID extends IntegrationIds =
139139
}
140140

141141
if (previousToken !== session?.accessToken) {
142-
this.fireDidChange();
142+
this.fireChange();
143143
}
144144

145145
return session;
@@ -164,7 +164,7 @@ abstract class IntegrationAuthenticationProviderBase<ID extends IntegrationIds =
164164
},
165165
): Promise<ProviderAuthenticationSession | undefined>;
166166

167-
protected fireDidChange(): void {
167+
protected fireChange(): void {
168168
queueMicrotask(() => this._onDidChange.fire());
169169
}
170170
}
@@ -324,7 +324,7 @@ export class BuiltInAuthenticationProvider extends LocalIntegrationAuthenticatio
324324
this.disposables.push(
325325
authentication.onDidChangeSessions(e => {
326326
if (e.provider.id === this.authProviderId) {
327-
this.fireDidChange();
327+
this.fireChange();
328328
}
329329
}),
330330
);

0 commit comments

Comments
 (0)