Skip to content

Commit

Permalink
Allow to use false values in Value Services
Browse files Browse the repository at this point in the history
  • Loading branch information
al-tom-ru committed Jul 1, 2021
1 parent 847914f commit c19c3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Beam/Wire.pm
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ sub create_service {
error => '"value" cannot be used with "class" or "extends"',
);
}
if ( $service_info{value} ) {
if ( exists $service_info{value} ) {
return $service_info{value};
}

Expand Down

0 comments on commit c19c3bd

Please sign in to comment.