Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previous example gives error: ``` ** (FunctionClauseError) no function clause matching in Tesla.Builder.runtime/1 The following arguments were given to Tesla.Builder.runtime/1: # 1 "http://localhost:4001" Attempted function clauses (showing 4 out of 4): defp runtime(list) when is_list(list) defp runtime({module, opts}) when is_atom(module) defp runtime(fun) when is_function(fun) defp runtime(module) when is_atom(module) (tesla 1.13.2) lib/tesla/builder.ex:203: Tesla.Builder.runtime/1 (elixir 1.16.1) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (elixir 1.16.1) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (tesla 1.13.2) lib/tesla/builder.ex:176: Tesla.Builder.client/3 iex:1: (file) ```
- Loading branch information