Skip to content

Commit

Permalink
chore: Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
doomspork committed Dec 22, 2023
1 parent 527f09b commit 6f065f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ua_parser/processor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ defmodule UAParser.Processor do
end

defp extract([document | _]) do
[{'user_agent_parsers', user_agents}, {'os_parsers', os}, {'device_parsers', devices}] = document
[{~c"user_agent_parsers", user_agents}, {~c"os_parsers", os}, {~c"device_parsers", devices}] = document

[user_agents, os, devices]
end
Expand Down
2 changes: 1 addition & 1 deletion lib/ua_parser/storage.ex
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule UAParser.Storage do
data =
:ua_parser
|> :code.priv_dir()
|> Kernel.++('/patterns.yml')
|> Kernel.++(~c"/patterns.yml")
|> to_string
|> :yamerl_constr.file([])
|> Processor.process()
Expand Down

0 comments on commit 6f065f0

Please sign in to comment.