diff options
| author | Mike McQuaid | 2017-10-18 10:32:34 +0100 |
|---|---|---|
| committer | GitHub | 2017-10-18 10:32:34 +0100 |
| commit | 1d40061c69fd11ed5b05c94c46c6004d56b11acb (patch) | |
| tree | afc6725a25b0a9b68e533a9403836e9fc108d3c9 /Library/Homebrew/rubocops | |
| parent | a5c8628ffb05b2af91dcd2b0039d62c574a6f120 (diff) | |
| parent | 85fa79b5cf6f1430d67ea5af7c10571caa1db5d7 (diff) | |
| download | brew-1d40061c69fd11ed5b05c94c46c6004d56b11acb.tar.bz2 | |
Merge pull request #3291 from JCount/lines-cop-fix-wine-universal-binary
lines_cop: add ENV.universal_binary audit exemption for wine
Diffstat (limited to 'Library/Homebrew/rubocops')
| -rw-r--r-- | Library/Homebrew/rubocops/lines_cop.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/rubocops/lines_cop.rb b/Library/Homebrew/rubocops/lines_cop.rb index 01b13585c..a45f673c6 100644 --- a/Library/Homebrew/rubocops/lines_cop.rb +++ b/Library/Homebrew/rubocops/lines_cop.rb @@ -121,6 +121,7 @@ module RuboCop end find_instance_method_call(body_node, "ENV", :universal_binary) do + next if @formula_name == "wine" problem "macOS has been 64-bit only since 10.6 so ENV.universal_binary is deprecated." end |
