Fixed the funk
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-01-18 23:13:34 +00:00
parent b015d8cabd
commit b4d0527b41
2 changed files with 8 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
defmodule Utils do
@min_print_level 3
@min_print_level 0
def safecast(p, m) when p == nil, do: IO.puts('Trying to safecast #{m} with p as nil')
def safecast(p, m) when is_pid(p), do: send(p, m)