aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 4076b8188..316a0b18f 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -813,10 +813,9 @@ class FormulaAuditor
problem "Use MacOS.version instead of MACOS_VERSION"
end
- # TODO: comment out this after core code and formulae separation.
- # if line =~ /MACOS_FULL_VERSION/
- # problem "Use MacOS.full_version instead of MACOS_FULL_VERSION"
- # end
+ if line =~ /MACOS_FULL_VERSION/
+ problem "Use MacOS.full_version instead of MACOS_FULL_VERSION"
+ end
cats = %w[leopard snow_leopard lion mountain_lion].join("|")
if line =~ /MacOS\.(?:#{cats})\?/