fix: working on rebuild from filesystem and analysis warnings

This commit is contained in:
2026-04-25 11:18:30 +02:00
parent 59be6c213e
commit 5ecd90ae65
18 changed files with 307 additions and 55 deletions

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

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