Skip to content

Commit

Permalink
Revert def/spec logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Sep 30, 2020
1 parent 67742a5 commit 18c4aff
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bundler/lib/bundler/cli/common.rb
Expand Up @@ -16,11 +16,8 @@ def self.print_post_install_message(name, msg)

def self.output_fund_metadata_summary
definition = Bundler.definition

# These lines essentially ignore groups and grab all deps/specs
groups = [:default]
current_dependencies = definition.current_dependencies
current_specs = definition.specs_for(groups)
current_dependencies = definition.requested_dependencies
current_specs = definition.specs

count = current_dependencies.count {|dep| current_specs[dep.name].first.metadata.key?("funding_uri") }

Expand Down

0 comments on commit 18c4aff

Please sign in to comment.