Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
dongfuye committed Jan 13, 2023
1 parent df4cb29 commit 9c4992a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nebulex/adapters/local/generation.ex
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ defmodule Nebulex.Adapters.Local.Generation do

defp start_timer(time, ref \\ nil, event \\ :heartbeat)

defp start_timer(:nil, _, _), do: nil
defp start_timer(nil, _, _), do: nil

defp start_timer(time, ref, event) do
_ = if ref, do: Process.cancel_timer(ref)
Expand Down

0 comments on commit 9c4992a

Please sign in to comment.