Unverified Commit 4b718faa authored by boklm's avatar boklm
Browse files

Check if mbox meta file was created before trying to read it

parent 8b22a3de
...@@ -393,6 +393,7 @@ sub check_modified_files { ...@@ -393,6 +393,7 @@ sub check_modified_files {
push @{$test->{results}{modified_files}}, $fname; push @{$test->{results}{modified_files}}, $fname;
}; };
find($add_modified_file, $sandbox_dir); find($add_modified_file, $sandbox_dir);
return unless -f "$sandbox_dir.meta";
foreach my $meta (read_file("$sandbox_dir.meta")) { foreach my $meta (read_file("$sandbox_dir.meta")) {
if ($meta =~ m/^D:(.*):1$/) { if ($meta =~ m/^D:(.*):1$/) {
my $fname = $1; my $fname = $1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment