From 86ff8517412ee7aa529d914a8acdd4bf1183e832 Mon Sep 17 00:00:00 2001 From: Daniel Khamsing Date: Wed, 21 Jun 2017 09:35:19 -0700 Subject: [PATCH] [script] Correct total of App Store apps --- .github/osia_convert.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/osia_convert.rb b/.github/osia_convert.rb index f4658962..fabf2bc8 100644 --- a/.github/osia_convert.rb +++ b/.github/osia_convert.rb @@ -33,9 +33,9 @@ end def app_store_total(j) apps = j['projects'] - s = apps.select { |x| x['itunes'].nil? } + s = apps.reject { |x| x['itunes'].nil? } - count = 1 + count = 1 s.each do |x| tags = x['tags'] if tags.nil?