diff options
Diffstat (limited to 'lib/gitlab/cycle_analytics/summary')
-rw-r--r-- | lib/gitlab/cycle_analytics/summary/value.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/cycle_analytics/summary/value.rb b/lib/gitlab/cycle_analytics/summary/value.rb index e443e037517..36306fa7c45 100644 --- a/lib/gitlab/cycle_analytics/summary/value.rb +++ b/lib/gitlab/cycle_analytics/summary/value.rb @@ -34,7 +34,7 @@ module Gitlab end def to_s - value.zero? ? '0' : value.to_s + value == 0 ? '0' : value.to_s end def to_i |