View Source Recode.Task.SinglePipe (Recode v0.1.0)
Pipes (|>
) should only be used when piping data through multiple calls.
# preferred
some_string |> String.downcase() |> String.trim()
Enum.reverse(some_enum)
# not preferred
some_enum |> Enum.reverse()
This task rewrites the code when mix recode
runs with autocorrect: true
.
Link to this section Summary
Functions
Callback implementation for Recode.Task.run/2
.
Link to this section Functions
Callback implementation for Recode.Task.run/2
.