Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No need to splat args uselessly

  • Loading branch information...
commit e42dcda117465674fd2fffe64057afc254521ac9 1 parent 12442ad
Carl Lerche authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bundler/spec_set.rb
View
4 lib/bundler/spec_set.rb
@@ -16,9 +16,9 @@ def length
@specs.length
end
- def for(*deps)
+ def for(deps)
specs = {}
- deps.flatten.each do |dep|
+ deps.each do |dep|
current = lookup[dep.respond_to?(:name) ? dep.name : dep]
append_subgraph(specs, current)
end
Please sign in to comment.
Something went wrong with that request. Please try again.