Skip to content

Commit

Permalink
productcompose: avoid warnings in log files
Browse files Browse the repository at this point in the history
when requested data key is not available
  • Loading branch information
adrianschroeter committed Jan 29, 2025
1 parent e448788 commit d71cbf2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Build/ProductCompose.pm
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,10 @@ sub show {
my $value = $d->{ $field };
if (ref $value eq 'ARRAY') {
print "$_\n" for @$value;
}
else {
} elsif ($value) {
print "$value\n";
} else {
print "\n";
}
}

Expand Down

0 comments on commit d71cbf2

Please sign in to comment.