mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-22 09:38:38 +01:00
Adopt prefix private with _ in markdown extension (#165088)
This commit is contained in:
@@ -11,10 +11,10 @@ export class RenderDocument implements Command {
|
||||
public readonly id = 'markdown.api.render';
|
||||
|
||||
public constructor(
|
||||
private readonly engine: MarkdownItEngine
|
||||
private readonly _engine: MarkdownItEngine
|
||||
) { }
|
||||
|
||||
public async execute(document: ITextDocument | string): Promise<string> {
|
||||
return (await (this.engine.render(document))).html;
|
||||
return (await (this._engine.render(document))).html;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user