summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-06-02 01:48:04 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2022-06-07 05:04:22 +0000
commita7fece19cb56b6aa3ae7f81d1a34276ad55fdf2a (patch)
tree1b750e50b3a511c55a034d4914356ffbf92c4363 /utils
parent04209f2a6a49f6cdc116b5cb73ccd1749c90f88b (diff)
downloadhaskell-a7fece19cb56b6aa3ae7f81d1a34276ad55fdf2a.tar.gz
Don't print the number of deps in count-deps testswip/enumerate-deps-only-no-count
It is redundant information and a source of needless version control conflicts when multiple MRs are changing the deps list. Just printing the list and not also its length is fine.
Diffstat (limited to 'utils')
-rw-r--r--utils/count-deps/Main.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/count-deps/Main.hs b/utils/count-deps/Main.hs
index 9dcc75619d..d431f00dda 100644
--- a/utils/count-deps/Main.hs
+++ b/utils/count-deps/Main.hs
@@ -40,8 +40,7 @@ printDeps libdir modName dot = do
if not dot then
do
let modules = Map.keys modGraph
- num = length modules
- putStrLn $ "Found " ++ show num ++ " " ++ modName ++ " module dependencies"
+ putStrLn $ "Found " ++ modName ++ " module dependencies"
forM_ modules putStrLn
else
-- * Copy the digraph output to a file ('deps.dot' say)