Skip to content

Commit ade4178

Browse files
CsCherrYYrgrunber
authored andcommitted
correct workspace trust command
Signed-off-by: Shi Chen <[email protected]>
1 parent 9054527 commit ade4178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ export function activate(context: ExtensionContext): Promise<ExtensionAPI> {
391391
const button = "Manage Workspace Trust";
392392
const choice = await window.showInformationMessage("For security concern, Java language server cannot be switched to Standard mode in untrusted workspaces.", button);
393393
if (choice === button) {
394-
commands.executeCommand("workbench.action.manageTrust");
394+
commands.executeCommand("workbench.trust.manage");
395395
}
396396
return;
397397
}

0 commit comments

Comments
 (0)