Change getDefaultShellAndArgs to use promises

Part of #75793
This commit is contained in:
Daniel Imms
2020-02-05 12:03:45 -08:00
parent 1aefcce704
commit 5fad95f544
7 changed files with 14 additions and 13 deletions

View File

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