Skip to content

Commit

Permalink
Maintain existing behavior for explicitly generating an excluded gem
Browse files Browse the repository at this point in the history
  • Loading branch information
rzane committed Nov 27, 2024
1 parent 47032ce commit 29bed6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tapioca/commands/abstract_gem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def initialize(
def gems_to_generate(gem_names)
return @bundle.dependencies if gem_names.empty?

gem_names.each_with_object([]) do |gem_name, gems|
(gem_names - @exclude).each_with_object([]) do |gem_name, gems|
gem = @bundle.gem(gem_name)

if gem.nil?
Expand Down

0 comments on commit 29bed6e

Please sign in to comment.