Skip to content
Snippets Groups Projects
Commit e9180b39 authored by Alexis Hildebrandt's avatar Alexis Hildebrandt Committed by Dominyk Tiller
Browse files

audit: simplify command-line spelling check


Closes Homebrew/homebrew#42403.

Signed-off-by: default avatarDominyk Tiller <dominyktiller@gmail.com>
parent 65dbdccf
No related branches found
No related tags found
No related merge requests found
......@@ -360,12 +360,8 @@ class FormulaAuditor
EOS
end
if desc =~ /[Cc]ommandline/
problem "It should be \"command-line\", not \"commandline\"."
end
if desc =~ /[Cc]ommand line/
problem "It should be \"command-line\", not \"command line\"."
if desc =~ %r[([Cc]ommand ?line)]
problem "Description should use \"command-line\" instead of \"#{$1}\""
end
end
......
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