Skip to content

Commit

Permalink
Fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Jan 9, 2025
1 parent bcd074c commit 86b0543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities.jl
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ end
end

# some timer utilities
add_timer_message!(did_show_timer, timings, msg::Dict) = add_timer_message!(did_show_timer, timings, string("LSP/", get(msg, "method", "")))
add_timer_message!(did_show_timer, timings, msg::JSONRPC.Request) = add_timer_message!(did_show_timer, timings, string("LSP/", msg.method))
function add_timer_message!(did_show_timer, timings, msg::String)
if did_show_timer[]
return
Expand Down

0 comments on commit 86b0543

Please sign in to comment.