Skip to content

Commit

Permalink
Refactor module name with &Macro.to_string/1
Browse files Browse the repository at this point in the history
  • Loading branch information
NJichev authored and mhanberg committed Feb 24, 2024
1 parent bb137c6 commit 5bedeb0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ defmodule NextLS.ElixirExtension.CodeAction.Require do
name =
alias
|> Module.concat()
|> to_string()
|> String.replace_prefix("Elixir.", "")
|> Macro.to_string()

{:ok, name}
end
Expand Down

0 comments on commit 5bedeb0

Please sign in to comment.