File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export namespace ScriptFileMarkersRequest {
25
25
26
26
// TODO move some of the common interface to a separate file?
27
27
interface ScriptFileMarkersRequestParams {
28
- filePath : string ;
28
+ fileUri : string ;
29
29
settings : any ;
30
30
}
31
31
@@ -122,10 +122,11 @@ class PSDocumentFormattingEditProvider implements DocumentFormattingEditProvider
122
122
let rule = this . ruleOrder [ index ] ;
123
123
let uniqueEdits : ScriptRegion [ ] = [ ] ;
124
124
let edits : ScriptRegion [ ] ;
125
+
125
126
return this . languageClient . sendRequest (
126
127
ScriptFileMarkersRequest . type ,
127
128
{
128
- filePath : document . fileName ,
129
+ fileUri : document . uri . toString ( ) ,
129
130
settings : this . getSettings ( rule )
130
131
} )
131
132
. then ( ( result : ScriptFileMarkersRequestResultParams ) => {
You can’t perform that action at this time.
0 commit comments