File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments