Skip to content

Commit ffdb754

Browse files
committed
Correct conditional calling func instead of comparing
Part of microsoft#152097
1 parent 374066b commit ffdb754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminal/browser/terminalInstance.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
12451245
return;
12461246
}
12471247
const command = commands[commands.length - 1];
1248-
if (!command?.hasOutput) {
1248+
if (!command?.hasOutput()) {
12491249
return;
12501250
}
12511251
const output = command.getOutput();

0 commit comments

Comments
 (0)