`String.to_atom/1` is safe to do at compile-time (#3813)

otherwise random compile-time errors may occur
pull/3815/head
hq1 3 years ago committed by GitHub
parent 52f584efa9
commit bca617d0bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -95,7 +95,7 @@ defmodule Plausible.Billing.Feature do
|> Enum.map(fn mod ->
Module.split(mod)
|> List.last()
|> String.to_existing_atom()
|> String.to_atom()
end)
end

Loading…
Cancel
Save