summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-24 13:13:08 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-25 11:02:07 +0200
commit9650085700a6a7fa22856e21c678dc891b1cd380 (patch)
tree1c325888698e6f9c2e124a31127e809e89724391 /lib
parent68a7cee2c2c7907a4b7402551f73ecd65787c2d7 (diff)
downloadbundler-9650085700a6a7fa22856e21c678dc891b1cd380.tar.gz
Remove some artificial line breaks
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/cli/outdated.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/bundler/cli/outdated.rb b/lib/bundler/cli/outdated.rb
index dd890841bc..5c0da98325 100644
--- a/lib/bundler/cli/outdated.rb
+++ b/lib/bundler/cli/outdated.rb
@@ -10,8 +10,7 @@ module Bundler
@gems = gems
@sources = Array(options[:source])
- @filter_options_patch = options.keys &
- %w[filter-major filter-minor filter-patch]
+ @filter_options_patch = options.keys & %w[filter-major filter-minor filter-patch]
@outdated_gems_by_groups = {}
@outdated_gems_list = []
@@ -22,8 +21,7 @@ module Bundler
# the patch level options imply strict is also true. It wouldn't make
# sense otherwise.
- @strict = options["filter-strict"] ||
- Bundler::CLI::Common.patch_level_options(options).any?
+ @strict = options["filter-strict"] || Bundler::CLI::Common.patch_level_options(options).any?
end
def run