Fix: Return emoty blocks
continuous-integration/drone/push Build is failing Details

This commit is contained in:
philipp lang 2024-04-20 00:29:32 +02:00
parent dbffb4b394
commit ae39c8dd31
1 changed files with 1 additions and 1 deletions

View File

@ -16,6 +16,6 @@ abstract class ConditionResolver
*/
public function make(array $content): array
{
return array_filter($content['blocks'], fn ($block) => $this->filterBlock($block));
return array_filter(data_get($content, 'blocks', []), fn ($block) => $this->filterBlock($block));
}
}