forked from lix-project/hydra
Fix typos
I could've sworn I tested this... Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
0db950931a
commit
806af3fe68
|
@ -81,9 +81,9 @@ sub buildFinished {
|
||||||
|
|
||||||
my ($authors, $nrCommits, $emailable_authors) = getResponsibleAuthors($build, $self->{plugins});
|
my ($authors, $nrCommits, $emailable_authors) = getResponsibleAuthors($build, $self->{plugins});
|
||||||
my $authorList;
|
my $authorList;
|
||||||
if (scalar keys %{authors} > 0) {
|
if (scalar keys %{$authors} > 0) {
|
||||||
my @x = map { "$_ <$authors->{$_}>" } (sort keys %{$authors});
|
my @x = map { "$_ <$authors->{$_}>" } (sort keys %{$authors});
|
||||||
$authorList = join(" or ", scalar @x > 1 ? join(", ", @[0..scalar @x - 2]): (), $x[-1]);
|
$authorList = join(" or ", scalar @x > 1 ? join(", ", @x[0..scalar @x - 2]): (), $x[-1]);
|
||||||
$addresses{$_} = { builds => [ $build ] } foreach (@{$emailable_authors});
|
$addresses{$_} = { builds => [ $build ] } foreach (@{$emailable_authors});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue