Skip to content

Commit

Permalink
fix: Graceful missing data for Build health
Browse files Browse the repository at this point in the history
  • Loading branch information
kitallis committed Feb 21, 2024
1 parent 5e1179b commit 2882dbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/build_health_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def chartable_metadata
end

def app_size_data
return {} unless step_runs.any?(&:build_size)
return nil unless step_runs.any?(&:build_size)

{
identifier: "app_size",
name: "App Size",
Expand Down

0 comments on commit 2882dbd

Please sign in to comment.