diff options
| author | Justin Baugh | 2017-07-20 11:57:43 -0400 |
|---|---|---|
| committer | Justin Baugh | 2017-07-20 11:57:43 -0400 |
| commit | e077bfe6555f0e7ab10bf1f52f815e57607d040e (patch) | |
| tree | 0a0fb1d0ac74927150b511478bd5d37cf120036c /Library | |
| parent | dd334a8357bc47bfb88e40bd9d3b92e454a259fb (diff) | |
| download | brew-e077bfe6555f0e7ab10bf1f52f815e57607d040e.tar.bz2 | |
Address rubocop issues
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/diagnostic.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb index f5e07ac2f..e6fecb478 100644 --- a/Library/Homebrew/diagnostic.rb +++ b/Library/Homebrew/diagnostic.rb @@ -99,7 +99,7 @@ module Homebrew end def check_build_from_source - return if !ENV.has_key?("HOMEBREW_BUILD_FROM_SOURCE") + return unless ENV.key?("HOMEBREW_BUILD_FROM_SOURCE") <<-EOS.undent You have HOMEBREW_BUILD_FROM_SOURCE set. This environment variable is |
