Disable old shell detection mechanism

This commit is contained in:
Daniel Imms
2019-06-17 11:54:34 -07:00
parent c287c3cfc7
commit d0820c2e06
5 changed files with 3 additions and 17 deletions

View File

@@ -576,11 +576,9 @@ export class ExtHostTerminalService implements ExtHostTerminalServiceShape {
}
public $requestWindowsShells(): Promise<IShellDefinitionDto[]> {
console.log('$requestWindowsShells');
if (!platform.isWindows) {
throw new Error('Can only detect Windows shells on Windows');
}
console.log('$requestWindowsShells2');
return detectWindowsShells();
}