Skip to content

Commit 041fe8e

Browse files
committed
Merge remote branch 'fork/master'
2 parents d0ed311 + 2cb6e63 commit 041fe8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/hoc/git.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def hits
3939
[
4040
Hits.new(
4141
Time.now,
42-
log.split(/\n/).map do |t|
42+
log.split(/\n/).delete_if(&:empty?).map do |t|
4343
t.split(/\t/).take(2).map { |s| s.to_i }.inject(:+)
4444
end.inject(:+)
4545
)

0 commit comments

Comments
 (0)