Merge pull request #62283 from xfix/patch-1

Remove useless assignment of a promise
This commit is contained in:
Sandeep Somavarapu
2018-11-01 10:41:45 +01:00
committed by GitHub

View File

@@ -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 {