diff options
| author | Xu Cheng | 2016-04-03 23:19:38 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-04-03 23:19:38 +0800 |
| commit | d0b713c3963c3d94545e8be077da9d4ba71e435a (patch) | |
| tree | a08a2c3931f5186993f8fcbe2f26c0fd9a0bd8bc | |
| parent | 00ae49f4ac989f48e0a4beba16a2b8bc56b61277 (diff) | |
| download | brew-d0b713c3963c3d94545e8be077da9d4ba71e435a.tar.bz2 | |
Revert "lsyncd: use MACOS_FULL_VERSION"
This reverts commit 0f60f76f26ca9fe26e1c10c72905a878a58e3c96.
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 7 |
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})\?/ |
