Adopt prefix private with _ in markdown extension (#165088)

This commit is contained in:
Matt Bierner
2022-10-31 14:22:39 -07:00
committed by GitHub
parent b97827dacf
commit 33867c55f3
29 changed files with 374 additions and 355 deletions

View File

@@ -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;
}
}