aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorMike McQuaid2017-06-02 15:48:22 +0100
committerGitHub2017-06-02 15:48:22 +0100
commitce80485aa4c1c0e6e2ee99414801937fa6c291d0 (patch)
treeaee7d68ca368ee35f0a965056c72092b3b923c01 /Library/Homebrew/dev-cmd
parent760f92abbad0159fb522cca6a8555123e736e285 (diff)
parentcf848a14d2de60b425d6e279051a919ff6ad1e43 (diff)
downloadbrew-ce80485aa4c1c0e6e2ee99414801937fa6c291d0.tar.bz2
Merge pull request #2664 from GauthamGoli/audit_caveats_rubocop
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