We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79de645 commit 9cc0993Copy full SHA for 9cc0993
1 file changed
src/vs/workbench/api/common/extHostAuthentication.ts
@@ -187,9 +187,9 @@ export class ExtHostAuthentication implements ExtHostAuthenticationShape {
187
}
188
189
$onDidChangeAuthenticationProviders(added: modes.AuthenticationProviderInformation[], removed: modes.AuthenticationProviderInformation[]) {
190
- added.forEach(id => {
191
- if (!this._providers.includes(id)) {
192
- this._providers.push(id);
+ added.forEach(provider => {
+ if (!this._providers.some(p => p.id === provider.id)) {
+ this._providers.push(provider);
193
194
});
195
0 commit comments