Remove useless assignment of a promise

This commit is contained in:
Konrad Borowski
2018-10-31 14:42:26 +01:00
parent df8bba1247
commit 866fc31f87
@@ -492,7 +492,7 @@ export class OutputService extends Disposable implements IOutputService, ITextMo
}
this.activeChannel = channel;
let promise: TPromise<void> = TPromise.as(null);
let promise: TPromise<void>;
if (this.isPanelShown()) {
promise = this.doShowChannel(channel, preserveFocus);
} else {