Recode.Task.PipeFunOne (Recode v0.8.0)

View Source

Add parentheses to one-arity functions.

# preferred
some_string |> String.downcase() |> String.trim()

# not preferred
some_string |> String.downcase |> String.trim

This task rewrites the code when mix recode runs with autocorrect: true.