Skip to content

Commit

Permalink
Make transitive bumps into D (level 3) bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmark committed Feb 26, 2014
1 parent d9f4a5e commit 8180aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bumper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ trans ps = fix (transStep ps)
transStep :: Packages -> Changes -> Changes
transStep ps old = new <.> old
where deps = filter (not . null . dependencyUpdates old) ps
new = M.fromList . map (\p -> (get name p, bumpPosition 2 (get version p))) $ deps
new = M.fromList . map (\p -> (get name p, bumpPosition 3 (get version p))) $ deps

fix :: (Eq a) => (a -> a) -> a -> a
fix f a | b == a = a
Expand Down

0 comments on commit 8180aa1

Please sign in to comment.