diff --git a/translations/l10n.pl b/translations/l10n.pl index 6410a8d6..f635959e 100644 --- a/translations/l10n.pl +++ b/translations/l10n.pl @@ -20,12 +20,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 =~ /.*(?