fix: reworking some code smell issues
This commit is contained in:
1 parent
68de265137
commit
d1acfd4d71
42 files changed
+661
-129
No files matched your search
@@ -303,6 +303,5 @@ defmodule BDS.Desktop.ShellLive.ChatEditor.ToolSurfaces do
|
||||
|
||||
defp map_value(_map, _key, default), do: default
|
||||
|
||||
defp truthy?(value) when value in [true, "true", 1, "1", "on"], do: true
|
||||
defp truthy?(_value), do: false
|
||||
defp truthy?(value), do: BDS.Values.truthy?(value)
|
||||
end
|
||||
Reference in new issue
Block a user