Skip to content

Commit f42ba10

Browse files
committed
Fix unused var
1 parent aca328b commit f42ba10

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "elastic-docs-v3-utilities",
33
"displayName": "Elastic Docs Utilities",
44
"description": "Utilities for Elastic Docs authoring",
5-
"version": "0.12.6",
5+
"version": "0.12.7",
66
"publisher": "Elastic",
77
"repository": {
88
"type": "git",

src/directiveDiagnosticProvider.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ export class DirectiveDiagnosticProvider {
258258
// Create a range covering all content lines
259259
const firstContentLine = block.contentLines[0];
260260
const lastContentLine = block.contentLines[block.contentLines.length - 1];
261-
const firstLine = document.lineAt(firstContentLine);
262261
const lastLine = document.lineAt(lastContentLine);
263262
const contentRange = new vscode.Range(
264263
new vscode.Position(firstContentLine, 0),

0 commit comments

Comments
 (0)