This commit is contained in:
parent
e1161be268
commit
3ee7bdd575
1 changed files with 13 additions and 10 deletions
|
@ -129,10 +129,12 @@ export class WorkspaceTrustManagementService extends Disposable implements IWork
|
|||
|
||||
private initializeWorkspaceTrust(): void {
|
||||
// Resolve canonical Uris
|
||||
this.resolveCanonicalUris().then(async () => {
|
||||
this.resolveCanonicalUris()
|
||||
.then(async () => {
|
||||
this._canonicalUrisResolved = true;
|
||||
await this.updateWorkspaceTrust();
|
||||
|
||||
})
|
||||
.finally(() => {
|
||||
this._workspaceResolvedPromiseResolve();
|
||||
if (!this.environmentService.remoteAuthority) {
|
||||
this._workspaceTrustInitializedPromiseResolve();
|
||||
|
@ -145,7 +147,8 @@ export class WorkspaceTrustManagementService extends Disposable implements IWork
|
|||
.then(async result => {
|
||||
this._remoteAuthority = result;
|
||||
await this.updateWorkspaceTrust();
|
||||
|
||||
})
|
||||
.finally(() => {
|
||||
this._workspaceTrustInitializedPromiseResolve();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue