summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2021-12-16 01:04:43 +0100
committerRehlein2021-12-18 11:56:23 +0100
commit5b3cb907078b6f628a6d07189d39634f0cdfd15d (patch)
treef8b6d8f6fe4d24d833dcc780f73e2194332a6416
parente103c8e1b5bf9bf47b94e7da443186f5703ce1bb (diff)
print list of maps in output json
-rw-r--r--lib/CheckDir.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CheckDir.hs b/lib/CheckDir.hs
index 1cfd753..f21fe9c 100644
--- a/lib/CheckDir.hs
+++ b/lib/CheckDir.hs
@@ -103,6 +103,7 @@ instance ToJSON DirResult where
, "resultText" .= prettyprint (Suggestion, res)
, "severity" .= maximumLintLevel res
, "badges" .= annotatedBadges
+ , "maps" .= M.keys (dirresultMaps res)
]
where annotatedBadges = concat
. M.elems