We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 307cb32 commit 4823512Copy full SHA for 4823512
1 file changed
src/vs/workbench/contrib/url/browser/trustedDomains.ts
@@ -170,6 +170,7 @@ export async function readTrustedDomains(accessor: ServicesAccessor) {
170
171
const userDomains = ((await authenticationService.getSessions('github')) ?? [])
172
.map(session => session.account.displayName)
173
+ .filter((v, i, a) => a.indexOf(v) === i)
174
.map(username => `https://github.com/${username}/`);
175
176
const workspaceDomains = await getRemotes(fileService, textFileService, workspaceContextService);
0 commit comments