forked from lix-project/hydra
fixup! BitBucketStatus: address Use of uninitialized value in numeric eq (==)
This commit is contained in:
parent
30d36da057
commit
a36d23c1dd
|
@ -10,7 +10,7 @@ use Hydra::Helper::CatalystUtils;
|
|||
|
||||
sub isEnabled {
|
||||
my ($self) = @_;
|
||||
return defined($self->{config}->{enable_bitbucket_status}) && $self->{config}->{enable_bitbucket_status} == 1;
|
||||
return ($self->{config}->{enable_bitbucket_status} // 0) == 1;
|
||||
}
|
||||
|
||||
sub toBitBucketState {
|
||||
|
|
Loading…
Reference in a new issue