未验证 提交 aee5ffa4 编写于 作者: S Sandeep Somavarapu 提交者: GitHub

Merge pull request #62283 from xfix/patch-1

Remove useless assignment of a promise
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册