Skip to content

Commit

Permalink
Correct usage of Cldr.default_backend!/0
Browse files Browse the repository at this point in the history
  • Loading branch information
kipcole9 committed Sep 25, 2020
1 parent 436a4cc commit 47f9c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cldr/currency.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,7 @@ defmodule Cldr.Currency do
end

# TODO remove for CLDR 3.0
if Code.ensure_loaded?(Cldr) && function_exported?(Cldr, :default_locale!, 0) do
if Code.ensure_loaded?(Cldr) && function_exported?(Cldr, :default_backend!, 0) do
defp default_backend() do
Cldr.default_backend!()
end
Expand Down

0 comments on commit 47f9c83

Please sign in to comment.