aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/audit.rb
diff options
context:
space:
mode:
authorXu Cheng2015-08-22 13:15:33 +0800
committerXu Cheng2015-08-22 13:15:33 +0800
commita88c40b8c888064f6514cf0646ea2140e2578d57 (patch)
tree73a31c1fd0b6984ccc8ea43fdfa242ad53c8cea8 /Library/Homebrew/cmd/audit.rb
parent3d1f9e0a9c6185b470630c29e44714ac2d050371 (diff)
downloadbrew-a88c40b8c888064f6514cf0646ea2140e2578d57.tar.bz2
core file style update
Diffstat (limited to 'Library/Homebrew/cmd/audit.rb')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 49396224b..ca76c1c53 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -374,7 +374,7 @@ class FormulaAuditor
problem "Description should use \"command-line\" instead of \"#{$1}\""
end
- if desc =~ %r[^([Aa]n?)\s]
+ if desc =~ /^([Aa]n?)\s/
problem "Please remove the indefinite article \"#{$1}\" from the beginning of the description"
end
end