fix: working on rebuild from filesystem and analysis warnings

This commit is contained in:
hugo committed 2026-04-25 11:18:30 +02:00
1 parent 59be6c213e
commit 5ecd90ae65
18 files changed
+307 -55

No files matched your search

-2
View File
@@ -286,8 +286,6 @@ defmodule BDS.Desktop.Automation do
end
end
defp port_os_pid(nil), do: nil
defp port_os_pid(port) do
case Port.info(port, :os_pid) do
{:os_pid, pid} when is_integer(pid) -> pid
+2 -4
View File
@@ -213,10 +213,8 @@ defmodule BDS.Desktop.MainWindow do
defp wx_env_undefined? do
try do
case :wx.get_env() do
:undefined -> true
_ -> false
end
_ = :wx.get_env()
false
rescue
ErlangError -> true
end