Skip to content

Commit

Permalink
Ignore incomplete specs when packaging gems
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Jun 2, 2024
1 parent 2546ecb commit de8f176
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ruby_wasm/packager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def specs
return [] unless @definition
@specs ||= @definition.resolve.materialize(@definition.requested_dependencies)
.reject { |spec| EXCLUDED_GEMS.include?(spec.name) }
.reject { |spec| spec.is_a?(Bundler::LazySpecification) }
@specs
end

Expand Down

0 comments on commit de8f176

Please sign in to comment.