Skip to content

Commit

Permalink
map.update! -> map.update
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleVsteger committed Oct 31, 2024
1 parent 3515d30 commit edc024b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/channel_spec/schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ defmodule ChannelSpec.Schema do
refs ->
schema = ref.schema()
refs = Map.put(refs, ref, schema)
refs = Map.update!(refs, :__unresolved_refs, &(&1 -- [ref]))
refs = Map.update(refs, :__unresolved_refs, [], &(&1 -- [ref]))

{schema, refs} = compile_refs(schema, refs, [])

Expand Down

0 comments on commit edc024b

Please sign in to comment.