forked from lix-project/hydra
Get rid of a warning in the HipChat plugin
This commit is contained in:
parent
b47d9814e3
commit
6574d125c7
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ sub buildFinished {
|
|||
my ($self, $build, $dependents) = @_;
|
||||
|
||||
my $cfg = $self->{config}->{hipchat};
|
||||
my @config = ref $cfg eq "ARRAY" ? @$cfg : ($cfg);
|
||||
my @config = defined $cfg ? ref $cfg eq "ARRAY" ? @$cfg : ($cfg) : ();
|
||||
|
||||
my $baseurl = $self->{config}->{'base_uri'} || "http://localhost:3000";
|
||||
|
||||
|
|
Loading…
Reference in a new issue