Test suite: ignoring backups from vi (files ending with a ~)
On my laptop, this test was failing because some scripts had a conflict marker in a backup ... of a conflict I just fixed!
ignoring any file ending with a ~
(cherry picked from commit 13f29dd7f3)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
26d79ec4f2
commit
03f6e33c4b
|
|
@ -29,7 +29,7 @@ find({
|
|||
wanted => sub {
|
||||
my $file = $_;
|
||||
|
||||
return if $file =~ /\.(ico|jpg|gif|ogg|pdf|png|psd|swf|zip)$/;
|
||||
return if $file =~ /\.(ico|jpg|gif|ogg|pdf|png|psd|swf|zip|.*\~)$/;
|
||||
return unless -f $file;
|
||||
|
||||
my @name_parts = File::Spec->splitpath($file);
|
||||
|
|
|
|||
Loading…
Reference in New Issue