aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Baugh2017-07-20 14:44:20 -0400
committerJustin Baugh2017-07-20 14:44:20 -0400
commit0a9de6b8a60252dc25fe1932666ab0de1850e060 (patch)
treea5721e5229b83190530b329c6e6df601dd05980e
parente077bfe6555f0e7ab10bf1f52f815e57607d040e (diff)
downloadbrew-0a9de6b8a60252dc25fe1932666ab0de1850e060.tar.bz2
Update source check to match style
-rw-r--r--Library/Homebrew/diagnostic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index e6fecb478..36a0d83a7 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -99,7 +99,7 @@ module Homebrew
end
def check_build_from_source
- return unless ENV.key?("HOMEBREW_BUILD_FROM_SOURCE")
+ return unless ENV("HOMEBREW_BUILD_FROM_SOURCE")
<<-EOS.undent
You have HOMEBREW_BUILD_FROM_SOURCE set. This environment variable is