Merge pull request #19149 from Homebrew/days

analytics: fix type error
This commit is contained in:
Kevin 2025-01-26 21:08:07 +00:00 committed by GitHub
commit de294f314f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -270,7 +270,7 @@ module Utils
next if args.days.present? && args.days&.to_i != days
next if args.category.present? && args.category != category
table_output(category, days, results)
table_output(category, days.to_s, results)
else
total_count = results.values.inject("+")
analytics << "#{number_readable(total_count)} (#{days} days)"