Skip to content

Commit

Permalink
match error case from Macro.Env.expand_import/5 (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel authored Jun 19, 2024
1 parent 2f6a946 commit d632314
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/spitfire/env.ex
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,9 @@ defmodule Spitfire.Env do

:error ->
expand_local(meta, fun, args, state, env)

{:error, :not_found} ->
expand_local(meta, fun, args, state, env)
end
end

Expand Down

0 comments on commit d632314

Please sign in to comment.