aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorGautham Goli2017-05-22 13:09:49 +0530
committerGautham Goli2017-05-31 22:59:48 +0530
commitcf848a14d2de60b425d6e279051a919ff6ad1e43 (patch)
treea1ac4c055cbb96f3b7953a8a3e265dd7d7ff5abf /Library/Homebrew/dev-cmd
parentf9e8d8430154e3480d5255e35b802a46f9168b5a (diff)
downloadbrew-cf848a14d2de60b425d6e279051a919ff6ad1e43.tar.bz2
audit: Port audit_caveats method to rubocop and add tests
Diffstat (limited to 'Library/Homebrew/dev-cmd')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 4ceff0f3d..bf7d2fc79 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -1148,11 +1148,6 @@ class FormulaAuditor
problem "Use pkgshare instead of (share#{$1}\"#{formula.name}\")"
end
- def audit_caveats
- return unless formula.caveats.to_s.include?("setuid")
- problem "Don't recommend setuid in the caveats, suggest sudo instead."
- end
-
def audit_reverse_migration
# Only enforce for new formula being re-added to core and official taps
return unless @strict