From d0b713c3963c3d94545e8be077da9d4ba71e435a Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Sun, 3 Apr 2016 23:19:38 +0800 Subject: [PATCH] Revert "lsyncd: use MACOS_FULL_VERSION" This reverts commit 0f60f76f26ca9fe26e1c10c72905a878a58e3c96. --- Library/Homebrew/cmd/audit.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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})\?/