Skip to content

Commit e714f1d

Browse files
committed
Remove accidentally included undefined
1 parent 785127c commit e714f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stack/Build/ConstructPlan.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ mkUnregisterLocal tasks dirtyReason localDumpPkgs sourceMap =
281281
-- If we're planning on running a task on it, then it must be
282282
-- unregistered
283283
| Just _ <- Map.lookup name tasks
284-
= Just $ fromMaybe undefined $ Map.lookup name dirtyReason
284+
= Just $ fromMaybe "" $ Map.lookup name dirtyReason
285285
-- Check if we're no longer using the local version
286286
| Just (PSUpstream _ Snap _ _ _) <- Map.lookup name sourceMap
287287
= Just "Switching to snapshot installed package"

0 commit comments

Comments
 (0)