Skip to content

Commit

Permalink
Fix wrong trigger in SinglePipe
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Sep 16, 2019
1 parent 2a32851 commit 1904d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/credo/check/readability/single_pipe.ex
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ defmodule Credo.Check.Readability.SinglePipe do
defp traverse({:|>, meta, _} = ast, {true, issues}, issue_meta) do
{
ast,
{false, issues ++ [issue_for(issue_meta, meta[:line], "single pipe")]}
{false, issues ++ [issue_for(issue_meta, meta[:line], "|>")]}
}
end

Expand Down

0 comments on commit 1904d09

Please sign in to comment.