Change requestAvailableShells to use promises

Part of #75793
This commit is contained in:
Daniel Imms
2020-02-05 11:55:14 -08:00
parent 3a35fae761
commit 1aefcce704
4 changed files with 6 additions and 6 deletions

View File

@@ -1287,7 +1287,7 @@ export interface ExtHostTerminalServiceShape {
$acceptProcessRequestCwd(id: number): void;
$acceptProcessRequestLatency(id: number): number;
$acceptWorkspacePermissionsChanged(isAllowed: boolean): void;
$requestAvailableShells(): Promise<IShellDefinitionDto[]>;
$getAvailableShells(): Promise<IShellDefinitionDto[]>;
$requestDefaultShellAndArgs(useAutomationShell: boolean): Promise<IShellAndArgsDto>;
}