allow null for remoteAuthority in IBaseOpenWindowsOptions to force local window

This commit is contained in:
Martin Aeschlimann
2021-03-09 16:05:48 +01:00
parent 3c96cb6254
commit b8a320867e
8 changed files with 9 additions and 9 deletions

View File

@@ -302,7 +302,7 @@ function getActions(): ActionItem[] {
actions.push({
title: 'Close Remote',
execute: async () => {
await vscode.commands.executeCommand('vscode.newWindow', { reuseWindow: true });
await vscode.commands.executeCommand('vscode.newWindow', { reuseWindow: true, remoteAuthority: null });
}
});
}