aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2016-10-22 15:25:28 +0100
committerGitHub2016-10-22 15:25:28 +0100
commitc521ff4a94328d02d345b13d65f3c5942cf613e9 (patch)
tree013d159a356dc813430d5a1dcea913a8cfe9dbed /Library/Homebrew/cmd
parent59a9f0a764f5ffdb7126931672c6274b6438e7cb (diff)
parent1f963267b6bd415ce3024bb7860d5253ad8e0132 (diff)
downloadbrew-c521ff4a94328d02d345b13d65f3c5942cf613e9.tar.bz2
Merge pull request #1345 from MikeMcQuaid/rubocop-style
Update Rubocop style.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/missing.rb2
-rw-r--r--Library/Homebrew/cmd/style.rb2
2 files changed, 2 insertions, 2 deletions
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