Fixing error declaring variable.

This commit is contained in:
sergiotarxz 2022-12-01 10:47:08 +01:00
parent f39c13edfa
commit e420cdeaa3

View File

@ -72,7 +72,10 @@ sub _getopt {
sub run {
my $self = shift;
if ( $self->_options->{clean} ) {
my %test_files_success_status;
tie %test_files_success_status, 'DB_File', $db_file;
%test_files_success_status = ();
untie %test_files_success_status;
}
for my $test_file ( @{ $self->{test_files} } ) {
if ( $self->_test_already_succeded($test_file) ) {