From 20080bda9c36d910042611e2c5edc32d2f2d93bb Mon Sep 17 00:00:00 2001 From: Brad P Date: Thu, 24 Apr 2025 15:35:57 -0500 Subject: [PATCH] Update lib/github_commit_graph/github_commit_graph.rb Co-authored-by: Ryan Kulp --- lib/github_commit_graph/github_commit_graph.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/github_commit_graph/github_commit_graph.rb b/lib/github_commit_graph/github_commit_graph.rb index fbce5c9..c4cb581 100644 --- a/lib/github_commit_graph/github_commit_graph.rb +++ b/lib/github_commit_graph/github_commit_graph.rb @@ -79,7 +79,7 @@ module Plugins streak = 0 # The current day can count towards the streak but it shouldn't break the streak - streak += 1 if days.last['contributionCount'].positive? + streak += 1 if days.last[:contributionCount].positive? days[0..-2].reverse_each do |day| break if (day['contributionCount']).zero?