Skip to content

Commit

Permalink
Exempt one line from Credo check
Browse files Browse the repository at this point in the history
  • Loading branch information
doomspork committed Dec 22, 2023
1 parent 14890e1 commit 7cc168e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ua_parser/processor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ defmodule UAParser.Processor do
defp atom_key(key) do
key
|> String.Chars.to_string()
# credo:disable-for-next-line Credo.Check.Warning.UnsafeToAtom
|> String.to_atom()
end

Expand Down

0 comments on commit 7cc168e

Please sign in to comment.