File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -865,9 +865,7 @@ export const isBuilderIdConnection = (conn?: Connection): conn is SsoConnection
865
865
isSsoConnection ( conn ) && conn . startUrl === builderIdStartUrl
866
866
867
867
export async function createStartUrlPrompter ( title : string , ignoreScopes = true ) {
868
- const existingConnections = ( await Auth . instance . listConnections ( ) )
869
- . filter ( isSsoConnection )
870
- . map ( conn => vscode . Uri . parse ( conn . startUrl ) )
868
+ const existingConnections = ( await Auth . instance . listConnections ( ) ) . filter ( isSsoConnection )
871
869
const requiredScopes = createSsoProfile ( '' ) . scopes
872
870
873
871
function validateSsoUrl ( url : string ) {
@@ -953,11 +951,6 @@ const addConnection = Commands.register('aws.auth.addConnection', async () => {
953
951
// Right now users can only have 1 builder id connection
954
952
const conn = existingConn ?? ( await Auth . instance . createConnection ( createBuilderIdProfile ( ) ) )
955
953
956
- return Auth . instance . useConnection ( conn )
957
- }
958
- case 'builderId' : {
959
- const conn = await createBuilderIdConnection ( Auth . instance )
960
-
961
954
return Auth . instance . useConnection ( conn )
962
955
}
963
956
}
You can’t perform that action at this time.
0 commit comments