diff options
| author | Mike McQuaid | 2016-09-18 14:28:19 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-09-19 11:18:09 +0100 |
| commit | 3686243e5a6003051b0b5c8943e74cb88278d389 (patch) | |
| tree | 1212bfede5f9f2d0ec56f6cc5c2010d166864c72 /Library/Homebrew/cmd/style.rb | |
| parent | e79f62b2ead91decb3a255167d6a87020a0ad7ab (diff) | |
| download | brew-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.rb | 6 |
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 |
