Skip to content

Commit

Permalink
Add nil to guard.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaddox5 committed Oct 8, 2024
1 parent d18b263 commit 68d8da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/screen.ex
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ defmodule ScreensConfig.Screen do
|> String.ends_with?(@v2_app_id_suffix)
end

defp value_from_json("vendor", vendor_string, _app_id) when vendor_string in ["n/a", ""],
defp value_from_json("vendor", vendor_string, _app_id) when vendor_string in ["n/a", "", nil],
do: nil

for vendor <- @recognized_vendors do
Expand Down

0 comments on commit 68d8da4

Please sign in to comment.