Skip to content

Commit aee5ffa

Browse files
authored
Merge pull request microsoft#62283 from xfix/patch-1
Remove useless assignment of a promise
2 parents 649b875 + 866fc31 commit aee5ffa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/vs/workbench/parts/output/electron-browser/outputServices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ export class OutputService extends Disposable implements IOutputService, ITextMo
492492
}
493493

494494
this.activeChannel = channel;
495-
let promise: TPromise<void> = TPromise.as(null);
495+
let promise: TPromise<void>;
496496
if (this.isPanelShown()) {
497497
promise = this.doShowChannel(channel, preserveFocus);
498498
} else {

0 commit comments

Comments
 (0)