Bug 39877: Prevent files to be processed twice
If the file had a failure and still has, we should not list it twice. Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
7f93977cd7
commit
03e52ef3e7
|
|
@ -21,7 +21,7 @@ use File::Path qw(make_path);
|
|||
use File::Slurp qw(read_file write_file);
|
||||
use File::Basename;
|
||||
use JSON qw(from_json to_json);
|
||||
use List::MoreUtils qw(firstval);
|
||||
use List::MoreUtils qw(firstval uniq);
|
||||
|
||||
use Koha::Devel::Files;
|
||||
|
||||
|
|
@ -143,7 +143,7 @@ sub get_files_to_test {
|
|||
}
|
||||
@files = $dev_files->ls_files($filetype) if !$self->{incremental_run} || $no_history;
|
||||
|
||||
return @files;
|
||||
return uniq @files;
|
||||
}
|
||||
|
||||
=head2 report_results
|
||||
|
|
|
|||
Loading…
Reference in New Issue