diff --git a/l10n/l10n.pl b/l10n/l10n.pl index c8312982fdc11..d4e622e2b8669 100644 --- a/l10n/l10n.pl +++ b/l10n/l10n.pl @@ -39,12 +39,13 @@ sub crawlFiles{ foreach my $i ( @files ){ next if substr( $i, 0, 1 ) eq '.'; next if $i eq 'l10n'; + next if $i eq 'node_modules'; if( -d $dir.'/'.$i ){ push( @found, crawlFiles( $dir.'/'.$i )); } else{ - push(@found,$dir.'/'.$i) if $i =~ /.*(?