Skip to content

Commit b80e49c

Browse files
committed
properly handle iodata
1 parent 9c38e2f commit b80e49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir_sense/core/type_info.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ defmodule ElixirSense.Core.TypeInfo do
231231
try do
232232
string
233233
|> Code.format_string!(line_length: line_length)
234-
|> to_string()
234+
|> IO.iodata_to_binary()
235235
rescue
236236
_ ->
237237
if Version.match?(System.version(), ">= 1.18.0-dev") do

0 commit comments

Comments
 (0)