File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/PowerShellEditorServices.Protocol Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ class ScriptFileMarkerRequestParams
2727 /// <summary>
2828 /// Path of the file for which the markers are requested.
2929 /// </summary>
30- public string filePath ;
30+ public string fileUri ;
3131
3232 /// <summary>
3333 /// Settings to be provided to ScriptAnalyzer to get the markers.
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ private async Task HandleScriptFileMarkersRequest(
241241 RequestContext < ScriptFileMarkerRequestResultParams > requestContext )
242242 {
243243 var markers = await editorSession . AnalysisService . GetSemanticMarkersAsync (
244- editorSession . Workspace . GetFile ( requestParams . filePath ) ,
244+ editorSession . Workspace . GetFile ( requestParams . fileUri ) ,
245245 editorSession . AnalysisService . GetPSSASettingsHashtable ( requestParams . settings ) ) ;
246246 await requestContext . SendResult ( new ScriptFileMarkerRequestResultParams {
247247 markers = markers
You can’t perform that action at this time.
0 commit comments