Adopt requireTrust in terminal

This commit is contained in:
Daniel Imms
2021-04-16 05:29:28 -07:00
parent aeb9b2051c
commit 3ae9ec0051
16 changed files with 88 additions and 274 deletions

View File

@@ -336,7 +336,6 @@ export abstract class BaseExtHostTerminalService extends Disposable implements I
public abstract getDefaultShellArgs(useAutomationShell: boolean, configProvider: ExtHostConfigProvider): string[] | string;
public abstract $getAvailableProfiles(configuredProfilesOnly: boolean): Promise<ITerminalProfile[]>;
public abstract $getDefaultShellAndArgs(useAutomationShell: boolean): Promise<IShellAndArgsDto>;
public abstract $acceptWorkspacePermissionsChanged(isAllowed: boolean): void;
public createExtensionTerminal(options: vscode.ExtensionTerminalOptions): vscode.Terminal {
const terminal = new ExtHostTerminal(this._proxy, generateUuid(), options, options.name);
@@ -791,8 +790,4 @@ export class WorkerExtHostTerminalService extends BaseExtHostTerminalService {
public async $getDefaultShellAndArgs(useAutomationShell: boolean): Promise<IShellAndArgsDto> {
throw new NotSupportedError();
}
public $acceptWorkspacePermissionsChanged(isAllowed: boolean): void {
throw new NotSupportedError();
}
}