diff --git a/src/vs/workbench/contrib/void/browser/terminalToolService.ts b/src/vs/workbench/contrib/void/browser/terminalToolService.ts index 334bfa54..f9e0c791 100644 --- a/src/vs/workbench/contrib/void/browser/terminalToolService.ts +++ b/src/vs/workbench/contrib/void/browser/terminalToolService.ts @@ -297,11 +297,12 @@ export class TerminalToolService extends Disposable implements ITerminalToolServ const cmdCap = await this._waitForCommandDetectionCapability(terminal) - if (!cmdCap) throw new Error(`There was an error using the terminal: CommandDetection capability did not mount yet. Please try again in a few seconds or report this to the Void team.`) + // if (!cmdCap) throw new Error(`There was an error using the terminal: CommandDetection capability did not mount yet. Please try again in a few seconds or report this to the Void team.`) // Prefer the structured command-detection capability when available const waitUntilDone = new Promise(resolve => { + if (!cmdCap) return const l = cmdCap.onCommandFinished(cmd => { if (resolveReason) return // already resolved resolveReason = { type: 'done', exitCode: cmd.exitCode ?? 0 };