aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMarkus Reiter2017-05-18 09:39:07 +0200
committerGitHub2017-05-18 09:39:07 +0200
commitf0dc1d96c50551be69ea418148a9bc2d72cfaf16 (patch)
treec94a8385e4832016644205b2f92d4bc1621931b4 /Library/Homebrew/cmd
parent2b726383f1712e5a34627b4db9bed8b7b81973b2 (diff)
parent5828eefd01cd61d2a7fbf439620b21f6f5b3d1b1 (diff)
downloadbrew-f0dc1d96c50551be69ea418148a9bc2d72cfaf16.tar.bz2
Merge pull request #2537 from reitermarkus/pathname-to_str
Remove `to_s` from some `Pathname`s.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/style.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb
index cf41d91ee..687ee36b8 100644
--- a/Library/Homebrew/cmd/style.rb
+++ b/Library/Homebrew/cmd/style.rb
@@ -94,7 +94,7 @@ module Homebrew
if files.nil?
args << "--config" << HOMEBREW_LIBRARY_PATH/".rubocop.yml"
- args += [HOMEBREW_LIBRARY_PATH]
+ args << HOMEBREW_LIBRARY_PATH
else
args << "--config" << HOMEBREW_LIBRARY/".rubocop.yml"
args += files