mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
Workspace trust api feedback
This commit is contained in:
@@ -39,7 +39,7 @@ export class TypeScriptVersionManager extends Disposable {
|
||||
}
|
||||
} else {
|
||||
setImmediate(() => {
|
||||
vscode.workspace.requireWorkspaceTrust(false)
|
||||
vscode.workspace.requireWorkspaceTrust({ modal: false })
|
||||
.then(trustState => {
|
||||
if (trustState === vscode.WorkspaceTrustState.Trusted && this.versionProvider.localVersion) {
|
||||
this.updateActiveVersion(this.versionProvider.localVersion);
|
||||
|
||||
Reference in New Issue
Block a user