Skip to content
Snippets Groups Projects
Commit 42129a7a authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

brew audit - another man variation

parent 43a16226
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,10 @@ def audit_formula_text text
problems << " * \"(#{$1}...#{$2})\" should be \"(#{$3}+...)\""
end
if text =~ %r[((man)\s*\+\s*(['"])(man[1-8])(['"]))]
problems << " * \"#{$1}\" should be \"#{$4}\""
end
# Prefer formula path shortcuts in strings
if text =~ %r[(\#\{prefix\}/(bin|include|lib|libexec|sbin|share))]
problems << " * \"#{$1}\" should be \"\#{#{$2}}\""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment