Skip to content

Commit

Permalink
Merge pull request #1286 from issyl0/rubocop-fixes
Browse files Browse the repository at this point in the history
Fix RuboCop `Style/ArrayIntersect` offenses
  • Loading branch information
Bo98 authored Jan 19, 2024
2 parents 6d1a6ed + 5d1a840 commit bc8b0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundle/skipper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def skip?(entry, silent: false)
# can have spaces in the names (and the `mas` output format changes on
# occasion).
entry_ids = [entry.name, entry.options[:id]&.to_s].compact
return false if (entry_type_skips & entry_ids).empty?
return false unless entry_type_skips.intersect?(entry_ids)

puts Formatter.warning "Skipping #{entry.name}" unless silent
true
Expand Down

0 comments on commit bc8b0e4

Please sign in to comment.