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

[LazySpecification] Uniq dependencies in lockfile representation #3524

Merged
merged 1 commit into from Mar 28, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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