File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { HtmlDocumentContentProvider } from './htmlDocumentContentProvider';
1212import { HtmlDocument } from './htmlDocument' ;
1313import { RoslynLanguageServer } from '../server/roslynLanguageServer' ;
1414import { RequestType , TextDocumentIdentifier } from 'vscode-languageserver-protocol' ;
15+ import { UriConverter } from '../utils/uriConverter' ;
1516
1617export class HtmlDocumentManager {
1718 private readonly htmlDocuments : { [ hostDocumentPath : string ] : HtmlDocument } = { } ;
@@ -51,7 +52,7 @@ export class HtmlDocumentManager {
5152 // so making it a request means the logs end up in the right place.
5253 await this . roslynLanguageServer . sendRequest (
5354 this . razorDocumentClosedRequest ,
54- TextDocumentIdentifier . create ( getUriPath ( document . uri ) ) ,
55+ TextDocumentIdentifier . create ( UriConverter . serialize ( document . uri ) ) ,
5556 new vscode . CancellationTokenSource ( ) . token
5657 ) ;
5758 }
You can’t perform that action at this time.
0 commit comments