chore: fix dialyzer/credo

This commit is contained in:
Zach Daniel 2024-01-12 14:14:08 -05:00
parent 072486bebd
commit 4200b5df50
2 changed files with 5 additions and 1 deletions

View file

@ -1,4 +1,8 @@
defmodule Ash.ProcessHelpers do defmodule Ash.ProcessHelpers do
@moduledoc """
Helpers for working with processes and Ash actions.
"""
@doc """ @doc """
Gets all of the ash context so it can be set into a new process. Gets all of the ash context so it can be set into a new process.

View file

@ -72,7 +72,7 @@ defmodule Ash.Resource.Change.Builtins do
{Ash.Resource.Change.RelateActor, opts} {Ash.Resource.Change.RelateActor, opts}
end end
@spec debug_log(label :: String.t()) :: Ash.Resource.Change.ref() @spec debug_log(label :: String.t() | nil) :: Ash.Resource.Change.ref()
def debug_log(label \\ nil) do def debug_log(label \\ nil) do
{Ash.Resource.Change.DebugLog, label: label} {Ash.Resource.Change.DebugLog, label: label}
end end