mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
We only need to wait on the input box for un-supported environments (#157157)
we only need to wait on the input box for un-supported environments
This commit is contained in:
committed by
GitHub
parent
0d5d5a0fb5
commit
d859b334cb
@@ -369,7 +369,7 @@ export class AzureActiveDirectoryService {
|
||||
existingPromise = this.handleCodeResponse(scopeData);
|
||||
} else {
|
||||
inputBox = vscode.window.createInputBox();
|
||||
existingPromise = Promise.race([this.handleCodeInputBox(inputBox, codeVerifier, scopeData), this.handleCodeResponse(scopeData)]);
|
||||
existingPromise = this.handleCodeInputBox(inputBox, codeVerifier, scopeData);
|
||||
}
|
||||
this._codeExchangePromises.set(scopeData.scopeStr, existingPromise);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user