Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Merge pull request #3524 from bundler/seg-uniq-deps
Browse files Browse the repository at this point in the history
[LazySpecification] Uniq dependencies in lockfile representation
  • Loading branch information
indirect committed Mar 28, 2015
2 parents 152c69f + 0798969 commit f880ba4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/lazy_specification.rb
Expand Up @@ -41,7 +41,7 @@ def to_lock
out = " #{name} (#{version}-#{platform})\n"
end

dependencies.sort_by {|d| d.to_s }.each do |dep|
dependencies.sort_by {|d| d.to_s }.uniq.each do |dep|
next if dep.type == :development
out << " #{dep.to_lock}\n"
end
Expand Down

0 comments on commit f880ba4

Please sign in to comment.