Skip to content

Commit

Permalink
todo question
Browse files Browse the repository at this point in the history
  • Loading branch information
novaugust committed Sep 9, 2024
1 parent a9d843f commit 98c8d8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/style/blocks.ex
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ defmodule Styler.Style.Blocks do
end
end

#@TODO do i want to be smart and recognize stdlib functions that return bools and use :not instead of :!?
def run({{:unless, m, [head, do_else]}, _} = zipper, ctx) do
zipper
|> Zipper.replace({:if, m, [invert(head), do_else]})
Expand Down

0 comments on commit 98c8d8d

Please sign in to comment.