Skip to content

Commit

Permalink
Use different method to fetch deps
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed Sep 29, 2020
1 parent 928591a commit 67742a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundler/lib/bundler/cli/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def self.output_fund_metadata_summary

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

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

0 comments on commit 67742a5

Please sign in to comment.