From 80cc9d0f70e98ff9b8aa78c86891d4a9bb4759d5 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Sat, 19 Mar 2022 20:20:20 +0100 Subject: unbreak a very, very long rebase --- lib/Dirgraph.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Dirgraph.hs') diff --git a/lib/Dirgraph.hs b/lib/Dirgraph.hs index fe9dc96..3fe1ce6 100644 --- a/lib/Dirgraph.hs +++ b/lib/Dirgraph.hs @@ -68,7 +68,7 @@ takeSubGraph i start graph graphToDot :: Graph FilePath -> Dot () graphToDot graph = do main <- D.node [("label","main.json")] - nodes' <- traverseMaybeWithKey + nodes' <- M.traverseMaybeWithKey (\name edges -> if name /= "main.json" then D.node [("label",name)] <&> (, edges) <&> Just else pure Nothing -- cgit v1.2.3