Skip to content

Commit 368167f

Browse files
authored
Remove redundant terminal kind check (microsoft#181281)
Was pointed out that this is redundant https://github.com/microsoft/vscode/pull/180552/files#r1181625576
1 parent ed4853d commit 368167f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/interactiveSession/browser/actions/interactiveSessionCodeblockActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ export function registerInteractiveSessionCodeBlockActions() {
263263

264264
// Why does getActiveOrCreateInstance return a disposed terminal? #180018
265265
// isFeatureTerminal = debug terminal
266-
const unusableTerminal = terminal.isDisposed || terminal.xterm?.isStdinDisabled || terminal.shellLaunchConfig.type === 'Task' || terminal.shellLaunchConfig.isFeatureTerminal;
266+
const unusableTerminal = terminal.isDisposed || terminal.xterm?.isStdinDisabled || terminal.shellLaunchConfig.isFeatureTerminal;
267267
terminal = unusableTerminal ? await terminalService.createTerminal() : terminal;
268268

269269
terminalService.setActiveInstance(terminal);

0 commit comments

Comments
 (0)