Skip to content

Commit 9256e97

Browse files
committed
Fix credo issue
1 parent 500820d commit 9256e97

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lib/package/macos.ex

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -404,12 +404,10 @@ defmodule Desktop.Deployment.Package.MacOS do
404404
end
405405

406406
def find_installer_id() do
407-
cond do
408-
System.get_env("MACOS_INSTALLER_ID") != nil ->
409-
System.get_env("MACOS_INSTALLER_ID")
410-
411-
true ->
412-
find_developer_id()
407+
if System.get_env("MACOS_INSTALLER_ID") != nil do
408+
System.get_env("MACOS_INSTALLER_ID")
409+
else
410+
find_developer_id()
413411
end
414412
end
415413

0 commit comments

Comments
 (0)