mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 130254 - Template params don't have to exist, since they may be
subject to interpolation. Ignore names with $ in them as a workaround r=myk x 2
This commit is contained in:
parent
9a8f9501ef
commit
34a9262f08
@ -39,6 +39,9 @@ foreach my $file (@files) {
|
||||
foreach my $line (@lines) {
|
||||
if ($line =~ m/template->process\(\"(.+?)\", .+?\)/) {
|
||||
$template = $1;
|
||||
# Ignore templates with $ in the name, since they're
|
||||
# probably vars, not real files
|
||||
next if $template =~ m/\$/;
|
||||
push (@testitems, $template) unless $t{$template};
|
||||
$t{$template} = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user