Remove onRequestDefaultShellAndArgs

This commit is contained in:
Daniel Imms
2021-05-03 23:01:16 -07:00
parent 538b91fe42
commit c2f8abb4d2
7 changed files with 9 additions and 29 deletions

View File

@@ -173,7 +173,7 @@ export class ExtHostTask extends ExtHostTaskBase {
}
public $getDefaultShellAndArgs(): Promise<{ shell: string, args: string[] | string | undefined }> {
return this._terminalService.$getDefaultShellAndArgs(true);
return this._terminalService.getDefaultShellAndArgs(true);
}
public async $jsonTasksSupported(): Promise<boolean> {

View File

@@ -122,7 +122,7 @@ export class ExtHostTerminalService extends BaseExtHostTerminalService {
return detectAvailableProfiles(configuredProfilesOnly, safeConfigProvider, undefined, this._logService, await this._variableResolverPromise, this._lastActiveWorkspace);
}
public async $getDefaultShellAndArgs(useAutomationShell: boolean): Promise<IShellAndArgsDto> {
public async getDefaultShellAndArgs(useAutomationShell: boolean): Promise<IShellAndArgsDto> {
const configProvider = await this._extHostConfiguration.getConfigProvider();
return {
shell: this.getDefaultShell(useAutomationShell, configProvider),