Skip to content

Commit 820905b

Browse files
committed
fix(nsid): PascalCase parts of NSID so that module names look proper
1 parent 16cd6fa commit 820905b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/atex/nsid.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ defmodule Atex.NSID do
1414
def to_atom(nsid, fully_qualify \\ true) do
1515
nsid
1616
|> String.split(".")
17-
|> Enum.map(&String.capitalize/1)
17+
|> Enum.map(&Recase.to_pascal/1)
1818
|> then(fn parts ->
1919
if fully_qualify do
2020
["Elixir" | parts]

0 commit comments

Comments
 (0)