Skip to content

Commit 866fc31

Browse files
committed
Remove useless assignment of a promise
1 parent df8bba1 commit 866fc31

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)