From 06b48a3b208ba61cad973c3150b51ab62e133dab Mon Sep 17 00:00:00 2001 From: tdro Date: Sun, 12 Sep 2021 02:22:54 -0400 Subject: .local/bin/plumber: Lower case before title case --- .local/bin/plumber | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.local/bin/plumber b/.local/bin/plumber index 99cc7f3..beb0dc6 100755 --- a/.local/bin/plumber +++ b/.local/bin/plumber @@ -44,10 +44,7 @@ defmodule ArgParser do TextPlumber.singleLineOf(opts[:text]) |> IO.binwrite() opts[:option] == options[:title_case] -> - TextPlumber.titleCaseOf(opts[:text]) |> IO.binwrite() - - opts[:option] == options[:title_case] -> - TextPlumber.titleCaseOf(opts[:text]) |> IO.binwrite() + TextPlumber.lowerCaseOf(opts[:text]) |> TextPlumber.titleCaseOf() |> IO.binwrite() opts[:option] == options[:slug_text] -> TextPlumber.lowerCaseOf(opts[:text]) |> TextPlumber.slugOf() |> IO.binwrite() -- cgit v1.2.3