Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
erikd committed Apr 16, 2024
1 parent 8d7c173 commit a1ac243
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cabal-install/src/Distribution/Client/CmdOutdated.hs
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,11 @@ outdatedAction flags _extraArgs globalFlags = do
pkgVerConstraints <-
if v2FreezeFile
then do
putStrLn "\n\n***** v2FreezeFile ******\n"
let mprojectDir = flagToMaybe $ flagProjectDir (projectFlags flags)
mprojectFile = flagToMaybe $ flagProjectFile (projectFlags flags)
putStrLn "\n\n***** v2FreezeFile ******"
print (newFreezeFile, mprojectDir, mprojectFile)
putStrLn "\n"
when (not newFreezeFile && (isJust mprojectDir || isJust mprojectFile)) $
dieWithException verbosity OutdatedAction

Expand Down

0 comments on commit a1ac243

Please sign in to comment.