Bug 25265: Rename skip_modzebra_update to skip_record_index
[koha-ffzg.git] / t / 00-valid-xml.t
old mode 100644 (file)
new mode 100755 (executable)
index 1f8988a..4cc8d9d
@@ -30,7 +30,8 @@ find({
     no_chdir => 1,
     wanted => sub {
         my $file = $_;
-        return unless $file =~ /(\.xml|\.xsl|\.xslt)$/i;
+        return if $file =~ m|/node_modules/|i;
+        return unless $file =~ /(\.xml|\.xsl|\.xslt|\.xsd)$/i;
         my $dom;
         eval { $dom = $parser->parse_file($file); };
         if ($@) {