Skip to content

Commit

Permalink
BlockPipe refactor example minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriano Mitre committed Nov 3, 2020
1 parent 59ee836 commit 19f0748
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/credo/check/readability/block_pipe.ex
Expand Up @@ -26,7 +26,7 @@ defmodule Credo.Check.Readability.BlockPipe do
|> Enum.sort()
case maybe_nested_lists do
[[_h|_t]|_] = true
[[_h|_t]|_] -> true
_-> false
end
Expand Down

0 comments on commit 19f0748

Please sign in to comment.