Skip to content

Commit

Permalink
Merge branch 'rc/v1.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed Mar 9, 2017
2 parents 203b319 + e714f1d commit 5c9ca3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stack/Build/ConstructPlan.hs
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ mkUnregisterLocal tasks dirtyReason localDumpPkgs sourceMap =
-- If we're planning on running a task on it, then it must be
-- unregistered
| Just _ <- Map.lookup name tasks
= Just $ fromMaybe undefined $ Map.lookup name dirtyReason
= Just $ fromMaybe "" $ Map.lookup name dirtyReason
-- Check if we're no longer using the local version
| Just (PSUpstream _ Snap _ _ _) <- Map.lookup name sourceMap
= Just "Switching to snapshot installed package"
Expand Down

0 comments on commit 5c9ca3c

Please sign in to comment.