Skip to content

Commit

Permalink
Typo spotted in jsParens (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzcreek authored Nov 29, 2020
1 parent 4c792a7 commit 9acf517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dodo/Common.purs
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ jsParens :: forall a. Doc a -> Doc a
jsParens = flexGroup <<< encloseEmptyAlt open close (text "()") <<< indent
where
open = flexAlt (text "(") (text "(" <> break)
close = flexAlt (text "(") (break <> text ")")
close = flexAlt (text ")") (break <> text ")")

0 comments on commit 9acf517

Please sign in to comment.