mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
debt - introduce Promises.withAsyncBody and adopt in a few places
This commit is contained in:
@@ -546,7 +546,7 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
|
||||
return this.authenticationProviders[0];
|
||||
}
|
||||
|
||||
return new Promise<UserDataSyncAccount | IAuthenticationProvider | undefined>(async (c, e) => {
|
||||
return new Promise<UserDataSyncAccount | IAuthenticationProvider | undefined>(c => {
|
||||
let result: UserDataSyncAccount | IAuthenticationProvider | undefined;
|
||||
const disposables: DisposableStore = new DisposableStore();
|
||||
const quickPick = this.quickInputService.createQuickPick<AccountQuickPickItem>();
|
||||
|
||||
Reference in New Issue
Block a user