mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Merge pull request #62283 from xfix/patch-1
Remove useless assignment of a promise
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user