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 785127c commit e714f1dCopy full SHA for e714f1d
src/Stack/Build/ConstructPlan.hs
@@ -281,7 +281,7 @@ mkUnregisterLocal tasks dirtyReason localDumpPkgs sourceMap =
281
-- If we're planning on running a task on it, then it must be
282
-- unregistered
283
| Just _ <- Map.lookup name tasks
284
- = Just $ fromMaybe undefined $ Map.lookup name dirtyReason
+ = Just $ fromMaybe "" $ Map.lookup name dirtyReason
285
-- Check if we're no longer using the local version
286
| Just (PSUpstream _ Snap _ _ _) <- Map.lookup name sourceMap
287
= Just "Switching to snapshot installed package"
0 commit comments