aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
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