Skip to content

Commit 9c1b988

Browse files
committed
address comments from code review
1 parent 891dfd3 commit 9c1b988

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cabal-install/src/Distribution/Client/CmdListBin.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ listbinAction flags@NixStyleFlags{..} args globalFlags = do
129129
case binfiles of
130130
[] -> die' verbosity "No target found"
131131
[exe] -> putStrLn exe
132-
execs -> die' verbosity $ "Multiple targets found: " <> show execs
132+
_ -> die' verbosity "Multiple targets found"
133133
where
134134
defaultVerbosity = verboseStderr silent
135135
verbosity = fromFlagOrDefault defaultVerbosity (configVerbosity configFlags)
@@ -153,7 +153,6 @@ listbinAction flags@NixStyleFlags{..} args globalFlags = do
153153
:: DistDirLayout
154154
-> ElaboratedSharedConfig
155155
-> UnqualComponentName
156-
-- TODO we should also include the component kind in addition to the name
157156
-> ElaboratedConfiguredPackage
158157
-> [FilePath]
159158
elaboratedPackage distDirLayout elaboratedSharedConfig selectedComponent elab = case elabPkgOrComp elab of

0 commit comments

Comments
 (0)