Skip to content

Commit 0284e1b

Browse files
authored
Merge pull request microsoft#154328 from microsoft/tyriar/153235
Correct conditional calling func instead of comparing
2 parents d6114a7 + ffdb754 commit 0284e1b

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)