aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/style.rb
diff options
context:
space:
mode:
authorMike McQuaid2016-09-18 14:28:19 +0100
committerMike McQuaid2016-09-19 11:18:09 +0100
commit3686243e5a6003051b0b5c8943e74cb88278d389 (patch)
tree1212bfede5f9f2d0ec56f6cc5c2010d166864c72 /Library/Homebrew/cmd/style.rb
parente79f62b2ead91decb3a255167d6a87020a0ad7ab (diff)
downloadbrew-3686243e5a6003051b0b5c8943e74cb88278d389.tar.bz2
style: don't require HOMEBREW_DEVELOPER to fix.
Diffstat (limited to 'Library/Homebrew/cmd/style.rb')
-rw-r--r--Library/Homebrew/cmd/style.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cmd/style.rb b/Library/Homebrew/cmd/style.rb
index 11c7e6773..229feca4d 100644
--- a/Library/Homebrew/cmd/style.rb
+++ b/Library/Homebrew/cmd/style.rb
@@ -5,8 +5,8 @@
#: style checks on the whole Homebrew `Library`, including core code and all
#: formulae.
#:
-#: If `--fix` is passed and `HOMEBREW_DEVELOPER` is set, style violations
-#: will be automatically fixed using RuboCop's `--auto-correct` feature.
+#: If `--fix` is passed, style violations will be automatically fixed using
+#: RuboCop's `--auto-correct` feature.
#:
#: If `--display-cop-names` is passed, the RuboCop cop name for each violation
#: is included in the output.
@@ -51,7 +51,7 @@ module Homebrew
--force-exclusion
--config #{HOMEBREW_LIBRARY}/.rubocop.yml
]
- args << "--auto-correct" if ARGV.homebrew_developer? && fix
+ args << "--auto-correct" if fix
args += files
case output_type