We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8097b03 commit abf4ca0Copy full SHA for abf4ca0
src/Stack/Dot.hs
@@ -151,10 +151,11 @@ listDependencies opts = do
151
where go name payload = liftIO $ Text.putStrLn $ listDepsLine opts name payload
152
153
treeRoots :: ListDepsOpts -> Set PackageName -> Set PackageName
154
-treeRoots opts projectPackages = let targets = dotTargets $ listDepsDotOpts opts
155
- in if null targets
156
- then projectPackages
157
- else Set.fromList $ map (mkPackageName . Text.unpack) targets
+treeRoots opts projectPackages' =
+ let targets = dotTargets $ listDepsDotOpts opts
+ in if null targets
+ then projectPackages'
158
+ else Set.fromList $ map (mkPackageName . Text.unpack) targets
159
160
printTree :: ListDepsOpts
161
-> Int
0 commit comments