From 019f647f3a767b007cbad4824bca4a7d00fa4227 Mon Sep 17 00:00:00 2001 From: Shuai Zhang Date: Mon, 19 Sep 2022 17:21:37 +0800 Subject: [PATCH] style: run dotnet fantomas. --- SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs b/SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs index 8a5a2f7d..e4a8273d 100644 --- a/SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs +++ b/SwigDoc2Latex/SwigDoc2Latex.ConsoleApp/Program.fs @@ -33,12 +33,7 @@ let translateCode (node: HtmlNode) = "" let rec translate (node: HtmlNode) = match node with - | n when - n.HasName "h1" - || n.HasName "h2" - || n.HasName "h3" - || n.HasName "h4" - -> + | n when n.HasName "h1" || n.HasName "h2" || n.HasName "h3" || n.HasName "h4" -> translateHeader n | n when n.HasName "p" -> "Paragraph" | n when n.HasName "table" -> "Table"