Skip to content

Commit

Permalink
fix: remove compile warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hpopp committed Feb 19, 2018
1 parent 09046e1 commit 218dfe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/scribe.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ defmodule Scribe do
Returns true if Scribe is overriding `Inspect`.
## Examples
iex> Scribe.enabled?
true
"""
Expand Down Expand Up @@ -146,7 +146,7 @@ defmodule Scribe do
end

defp fetch_keys([first | _rest], nil), do: fetch_keys(first)
defp fetch_keys([first | _rest], opts), do: process_headers(opts)
defp fetch_keys(_list, opts), do: process_headers(opts)

defp process_headers(opts) do
for opt <- opts do
Expand Down

0 comments on commit 218dfe9

Please sign in to comment.