mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
chore: add sobelow skip statement
This commit is contained in:
parent
51990bd784
commit
b3977817bb
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ defmodule Ash.CodeInterface do
|
|||
end
|
||||
|
||||
@doc false
|
||||
# sobelow_skip ["DOS.BinToAtom"]
|
||||
# sobelow_skip ["DOS.BinToAtom", "DOS.StringToAtom"]
|
||||
def resolve_calc_method_names(name) do
|
||||
if name |> to_string() |> String.ends_with?("?") do
|
||||
safe_name = name |> to_string() |> String.trim_trailing("?") |> String.to_atom()
|
||||
|
|
Loading…
Reference in a new issue