зеркало из https://github.com/mozilla/pjs.git
Bug 389407: api/Bugzilla/Auth.html incorrectly detected by t/009bugwords.t - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
This commit is contained in:
Родитель
ae750f506e
Коммит
fede54a9bc
|
@ -79,7 +79,7 @@ foreach my $file (@testitems) {
|
|||
# "Bugzilla"
|
||||
if (grep /(?<!X\-)Bugzilla(?!_|::|->|\.pm)/, $text) {
|
||||
# Exclude JS comments, hyperlinks, USE, and variable assignment.
|
||||
unless (grep /(\/\/.*|(org|api).*>|USE |= )Bugzilla/, $text) {
|
||||
unless (grep /(\/\/.*|org.*>|api\/|USE |= )Bugzilla/, $text) {
|
||||
push(@errors, [$lineno, $text]);
|
||||
next;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче