Fix credo

ua-device-type-ecto-query
Uku Taht 4 years ago
parent a0ab655b53
commit 39582c6937

@ -294,6 +294,7 @@ defmodule Plausible.Ingestion.Event do
end
end
# credo:disable-for-next-line Credo.Check.Refactor.CyclomaticComplexity
defp screen_size(ua) do
case ua.device do
%UAInspector.Result.Device{type: "smartphone"} -> "Mobile"

Loading…
Cancel
Save