diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 4076b81887..316a0b18f2 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})\?/