Skip to content

Commit 8e28981

Browse files
committed
Fix missing URI conversion in code action execution.
1 parent 0955a4d commit 8e28981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/requests/actions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ function textDocument_codeAction_request(params::CodeActionParams, server::Langu
7575
end
7676

7777
function workspace_executeCommand_request(params::ExecuteCommandParams, server::LanguageServerInstance, conn)
78-
uri = params.arguments[1]
78+
uri = URI(params.arguments[1])
7979
offset = params.arguments[2]
8080
doc = getdocument(server, uri)
8181
x = get_expr(getcst(doc), offset)

0 commit comments

Comments
 (0)