Skip to content

Commit f973fa2

Browse files
committed
Too used to C# 🤦‍♂️
1 parent 7b11eae commit f973fa2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lsptoolshost/razor/htmlDocument.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ export class HtmlDocument {
2626
}
2727

2828
public async setContent(checksum: string, content: string) {
29-
var document = await vscode.workspace.openTextDocument(this.uri);
29+
const document = await vscode.workspace.openTextDocument(this.uri);
3030
// Capture the version _before_ the change, so we can know for sure if it's been seen
3131
this.previousVersion = document.version;
3232
this.checksum = checksum;
3333
this.content = content;
3434
}
3535

3636
public async waitForBufferUpdate() {
37-
var document = await vscode.workspace.openTextDocument(this.uri);
37+
const document = await vscode.workspace.openTextDocument(this.uri);
3838

3939
// Wait for VS Code to process any previous content change. We don't care about finding
4040
// a specific version, just that it's moved on from the previous one.

0 commit comments

Comments
 (0)