https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42764 --- Comment #9 from Jonathan Druart <jonathan.druart@gmail.com> --- Comment on attachment 199892 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199892 Bug 42764: Fix false positives caused by mixed filetypes in CI failure store Review of attachment 199892: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=42764&attachment=199892) ----------------------------------------------------------------- ::: Koha/Devel/CI/IncrementalRuns.pm @@ +140,4 @@
@koha_commit_history; if ($last_build_commit) { @files = @{ from_json( read_file("$self->{git_repo_dir}/$self->{test_dir}/$last_build_commit") ) }; + @files = grep { ( eval { $dev_files->get_filetype($_) } // '' ) eq $filetype } @files;
Why not simply `@files = grep { $dev_files->get_filetype($_) eq $filetype } @files;`? -- You are receiving this mail because: You are watching all bug changes.