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:
@@ -15,15 +15,15 @@ enum OpenMarkdownLinks {
|
||||
export class MdLinkOpener {
|
||||
|
||||
constructor(
|
||||
private readonly client: MdLanguageClient,
|
||||
private readonly _client: MdLanguageClient,
|
||||
) { }
|
||||
|
||||
public async resolveDocumentLink(linkText: string, fromResource: vscode.Uri): Promise<proto.ResolvedDocumentLinkTarget> {
|
||||
return this.client.resolveLinkTarget(linkText, fromResource);
|
||||
return this._client.resolveLinkTarget(linkText, fromResource);
|
||||
}
|
||||
|
||||
public async openDocumentLink(linkText: string, fromResource: vscode.Uri, viewColumn?: vscode.ViewColumn): Promise<void> {
|
||||
const resolved = await this.client.resolveLinkTarget(linkText, fromResource);
|
||||
const resolved = await this._client.resolveLinkTarget(linkText, fromResource);
|
||||
if (!resolved) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user