diff options
author | stuebinm | 2021-12-16 01:04:43 +0100 |
---|---|---|
committer | Rehlein | 2021-12-18 11:56:23 +0100 |
commit | 5b3cb907078b6f628a6d07189d39634f0cdfd15d (patch) | |
tree | f8b6d8f6fe4d24d833dcc780f73e2194332a6416 /lib | |
parent | e103c8e1b5bf9bf47b94e7da443186f5703ce1bb (diff) |
print list of maps in output json
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CheckDir.hs | 1 |
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 |