We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34f32ef commit 33ebd87Copy full SHA for 33ebd87
lib/elixir/lib/config.ex
@@ -75,7 +75,7 @@ defmodule Config do
75
@config_key {__MODULE__, :config}
76
@imports_key {__MODULE__, :imports}
77
78
- defp get_opts!(), do: Process.get(@opts_key)
+ defp get_opts!(), do: Process.get(@opts_key) || raise_improper_use!()
79
defp put_opts(value), do: Process.put(@opts_key, value)
80
defp delete_opts(), do: Process.delete(@opts_key)
81
0 commit comments