Bugzilla – Attachment 99222 Details for
Bug 24494
00-valid-xml.t shouldn't check node_modules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24494: Make the regex more exact
Bug-24494-Make-the-regex-more-exact.patch (text/plain), 903 bytes, created by
Martin Renvoize (ashimema)
on 2020-02-18 19:46:56 UTC
(
hide
)
Description:
Bug 24494: Make the regex more exact
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-02-18 19:46:56 UTC
Size:
903 bytes
patch
obsolete
>From bc671f0d08e568673d5d2d15a1f398e605aba97b Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 13 Feb 2020 17:01:06 +0100 >Subject: [PATCH] Bug 24494: Make the regex more exact > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > t/00-valid-xml.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/00-valid-xml.t b/t/00-valid-xml.t >index d19b4e68d1..4cc8d9dd89 100644 >--- a/t/00-valid-xml.t >+++ b/t/00-valid-xml.t >@@ -30,7 +30,7 @@ find({ > no_chdir => 1, > wanted => sub { > my $file = $_; >- return if $file =~ /node_modules/i; >+ return if $file =~ m|/node_modules/|i; > return unless $file =~ /(\.xml|\.xsl|\.xslt|\.xsd)$/i; > my $dom; > eval { $dom = $parser->parse_file($file); }; >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24494
:
97825
|
98861
|
98862
|
99221
| 99222