Skip to content

Commit

Permalink
Update options of quoted implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfin committed Mar 24, 2024
1 parent c2b3e26 commit b22cb1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cachex/hook.ex
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ defmodule Cachex.Hook do

@doc false
defmacro __using__(_) do
quote location: :keep do
quote location: :keep, generated: true do
# force the Hook behaviours
@behaviour Cachex.Hook

Expand Down
2 changes: 1 addition & 1 deletion lib/cachex/provision.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ defmodule Cachex.Provision do

@doc false
defmacro __using__(_) do
quote location: :keep do
quote location: :keep, generated: true do
# use the provision behaviour
@behaviour Cachex.Provision

Expand Down

0 comments on commit b22cb1f

Please sign in to comment.