mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Use ??= in more places (#163594)
This commit is contained in:
@@ -35,9 +35,7 @@ export class VsCodeOutputLogger extends Disposable implements ILogger {
|
||||
private _outputChannel?: vscode.OutputChannel;
|
||||
|
||||
private get outputChannel() {
|
||||
if (!this._outputChannel) {
|
||||
this._outputChannel = this._register(vscode.window.createOutputChannel('Markdown'));
|
||||
}
|
||||
this._outputChannel ??= this._register(vscode.window.createOutputChannel('Markdown'));
|
||||
return this._outputChannel;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user