From 1f963267b6bd415ce3024bb7860d5253ad8e0132 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 22 Oct 2016 13:32:46 +0100 Subject: Update Rubocop style. Another look at the current Rubocop rules and how they fit with our existing and desired future style. Almost all of these changes were automatic. Split some rules between formulae/brew where brew doesn't have millions of cases that need fixed. --- Library/Homebrew/cmd/missing.rb | 2 +- Library/Homebrew/cmd/style.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Homebrew/cmd') diff --git a/Library/Homebrew/cmd/missing.rb b/Library/Homebrew/cmd/missing.rb index 525461108..148fe5bef 100644 --- a/Library/Homebrew/cmd/missing.rb +++ b/Library/Homebrew/cmd/missing.rb @@ -20,7 +20,7 @@ module Homebrew Diagnostic.missing_deps(ff) do |name, missing| print "#{name}: " if ff.size > 1 - puts (missing * " ").to_s + puts missing.join(" ") end end end diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb index 9538b890a..08eb111a5 100644 --- a/Library/Homebrew/cmd/style.rb +++ b/Library/Homebrew/cmd/style.rb @@ -49,7 +49,7 @@ module Homebrew fix = options[:fix] Homebrew.install_gem_setup_path! "rubocop", "0.43.0" - args = %W[ + args = %w[ --force-exclusion ] args << "--auto-correct" if fix -- cgit v1.2.3