mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-04-01 09:30:31 -04:00
Return cancelled, not undefined for azure login (#11656)
* Return cancelled, not undefined. * fallback to reject * Add type to the rejection * add default
This commit is contained in:
@@ -25,7 +25,7 @@ const localize = nls.loadMessageBundle();
|
||||
export class AzureAccountProvider implements azdata.AccountProvider, vscode.Disposable {
|
||||
private static readonly CONFIGURATION_SECTION = 'accounts.azure.auth';
|
||||
private readonly authMappings = new Map<AzureAuthType, AzureAuth>();
|
||||
private initComplete: Deferred<void>;
|
||||
private initComplete: Deferred<void, Error>;
|
||||
private initCompletePromise: Promise<void> = new Promise<void>((resolve, reject) => this.initComplete = { resolve, reject });
|
||||
|
||||
constructor(
|
||||
|
||||
Reference in New Issue
Block a user